myCommand.Parameters.Add(new SqlParameter("@id", SqlDbType.int, 20));
解决方案 »
- 关于.net生成静态页面未能映射路径问题!~
- asp.net怎样仅在第一次打开时产生一随机数,以后刷新页面值都不变。
- 为什么生成缩略图后缩略图的文件头会为变?而用其它软件直接编辑缩小文件头不会变?
- CNBlogs DotText 1.0 Beta 2提供下载
- ASP创建文件夹问题
- excel 数据导入 SQL Server 中的问题
- 怎样在循环中动态访问控件?
- jquery ajax 获取webservice数据问题
- VS2013里面连接SQL 2012的语句怎么写?求助了
- asp.net连接错误!
- 有想学ASP.NET的吗?
- access的select top order by语法有什么规定吗,怎么经常全部查出。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error:
Line 170: for (int i=0; i<4; i++)
Line 171: {
Line 172: String colvalue = ((TextBox)E.Item.FindControl(cols[i])).Text;
Line 173: myCommand.Parameters["@" + cols[i]].Value = colvalue;
Line 174: }
Source File: c:\inetpub\wwwroot\oa\main.aspx.cs Line: 172