if (!Page.IsPostBack)
{
//绑定你的DataGrid
}
{
//绑定你的DataGrid
}
解决方案 »
- 读XML文件时出错,System.Xml.XmlException: 给定编码中的字符无效。给定编码中的字符无效。 行 4,位置 6。
- IIS7应用程序发送邮件失败
- 小问题下午下班前给分结帖:请问FormView里怎么做一个链接啊
- 十分急!!DropDownList的问题
- 为什么strSRC的值不能传递(=====)
- 如何在ASPxGrid的单元格中设置下拉列表等其他控件?
- 菜鸟 跪求 .net SQL web 开发高手指导 拜师!
- 实在想不出为什么,关于windows身份验证???
- ★★★微软专家:不起眼的小问题,却给用户带来很大的方便★★★
- 为何我的分页事件不能触发?
- 请教:一个关于webcontrol的问题?
- 从一个存储过程返回记录,并返回一个字符类型值,应该怎么样写??
string m_returnval_string_f="";
foreach(DataGridItem item in DG_Dictionary.Items)
{
CB=(CheckBox)item.FindControl("Chk_Record");
if(CB!=null&&CB.Checked)
m_returnval_string_f+=DG_Dictionary.Items[i].Cells[1].Text;
}
m_returnval_string_f=m_returnval_string_f+(DG_Dictionary.Items[i].Cells[1].Text).ToString();
结贴