急问:datagrid中为什么找不到制定cell的索引 ItemDataBind事件最好转化为模板列然后再设置 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 cells[0]是第一列cells[1]第二列... 如果是绑定列或者直接绑定的,在Cell中就没有Control 问xhan2000:模板列?是将datagrid加载到一个panel中吗?再从panel中取吗? string strCommand="delete "+xmnameStr+" where ruleID='"+Convert.ToString(e.Item.Cells[2].Text)+"'"; 问icyer:我不大明白您的意思,我的datagrid中绑定的是dataset中的表:SqlDataAdapter da3=new SqlDataAdapter(strCommand3,myConnection); DataSet ds3 = new DataSet();da3.Fill(ds3,"rules"); DataGrid1.DataSource=ds3.Tables["rules"];DataGrid1.DataBind();请给具体指导!不胜感激! Listview的InsertItemTemplate的模版入口在那里 求一段js代码 求一正则表达式 怎样可以让用户可以选择日期控件中的年. .net中自定义组件开发教程 How to get text from html tags. like <div...><font> Text </font></div> 格式问题 请帮我写一段下面的sql语句(绝对给分) ***求助!! 怎么才能弹出一个信息框???谢谢!! 关于Trace的问题! 请问怎样修改以下的javascript? 每 次 做 完 一 个 工 程 (project) 还 用 设 置 web.config吗 ?(急 !!)
(e.Item.Cells[2].Text)+"'";
SqlDataAdapter da3=new SqlDataAdapter(strCommand3,myConnection);
DataSet ds3 = new DataSet();
da3.Fill(ds3,"rules");
DataGrid1.DataSource=ds3.Tables["rules"];
DataGrid1.DataBind();请给具体指导!不胜感激!