private void fillDg()
{
this.DataGrid1.DataSource=personOperation.selectallperson();
this.DataGrid1.DataBinding();}
系统提示:d:\inetpub\wwwroot\insert\WebForm1.aspx.cs(67): 事件“System.Web.UI.Control.DataBinding”只能出现在 += 或 -= 的左边
问题出在什么地方?
{
this.DataGrid1.DataSource=personOperation.selectallperson();
this.DataGrid1.DataBinding();}
系统提示:d:\inetpub\wwwroot\insert\WebForm1.aspx.cs(67): 事件“System.Web.UI.Control.DataBinding”只能出现在 += 或 -= 的左边
问题出在什么地方?
解决方案 »
- asp.net 验证
- 谁能给一些关于领域驱动设计的资料啊?
- WebService怎么生成Dll文件
- 标志设计的颜色上应用
- dataset中只有一个表,有一个字段是uid,我想删除uid=1的行,代码怎么写?
- *********入门问题,请教大家*********
- 请问这表达式哪里错了 说字符串格式不正确....
- 很多时候控件的事件会莫明的丢失,这是怎么回事?有什么有效的方法防止吗?
- 如何设置,访问其他页面时,必须经过一个已定义好的页面!谢谢!在线等!
- 请问treeView WebControl怎么和一个xml文件挂在一起显示一个树呀?
- 这个哪错了呀?有人说是用datatable替换ds,我不明白呀,怎么改呀?
- 我如何写相对路径的数据库链接字符串?
this.DataGrid1.DataBind();