引用里加上 System.Runtime.InteropServices
vs2005里有DllImport
vs2005里有DllImport
解决方案 »
- c# winform excel导出时 1900-01-01默认时间变成1900-01-02 如何解决
- 求wms 设计方案。
- c# 如何实现文件储存?
- .NET的一些问题。
- 用C#编写一个吃豆豆的游戏
- C# 使用EXCEL时出错,请求解决啊,OS:2003+SP1, VS2005
- 怎么往ListView 里面添加 CheckBox 然后点击其Text会跳出添加其他的ChectBox
- checkbox在gridview用作选中行的一个问题.
- C#中删除中间数据后,如何使SQL数据库中数据表连续排列
- Cookie: why i can't use cookie?
- datagridview问题,大家来看看 大家帮帮忙啊!!!
- 列表符号在txt文件中成为黑方块的问题
但没有的
--------------------------------------------------------------------------------编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: CS1513: 应输入 }源错误: 行 14: protected void Page_Load(object sender, EventArgs e)
行 15: {
行 16: [DllImport("wininet.dll")]
行 17: private extern static bool InternetGetConnectedState(out int connectionDescription, int reservedValue);
行 18: int flag;
源文件: d:\My Documents\Visual Studio 2005\WebSites\WebSite1\Default.aspx.cs 行: 16