我做了一个GridView在里面有一个列为:CustomerID
我该怎么获得当前行的CustomerID啊
得到CustomerID后,我想在根据CustomerID 查询后绑定到本行的BulletedList
我该怎么获得当前行的CustomerID啊
得到CustomerID后,我想在根据CustomerID 查询后绑定到本行的BulletedList
解决方案 »
- 在VS里可以运行,放到IIS就出问题了。。
- 如何不弹出消息直接关闭弹出的窗口
- <httpRuntime> 元素使用问题。
- 用户 'sa' 登录失败。原因: 未与信任 SQL Server 连接相关联。
- 如何不显示gridview或是griddata中值为空的行?
- 对话框问题
- 求问: 关于无法访问服务器.net程序的问题
- Visual Studio 2012发布网站出现错误!
- 在DataGrid的各行中有checkbox控件,选中该 checkbox,该行即改变颜色:
- 知道或明白动网论坛的那种错误信息显示的模式的朋友进来一下!用ASP.Net来实现的方法~
- web services的问题 求救!~~~~~~~~~
- 新闻系统,求一正则表达式
{
string customerID= e.Keys[0].Tostring();
}
{
string customerID= e.Keys["CustomerID"].Tostring();
}
{
if (e.Row.RowIndex > -1)
{
DataRowView row = (DataRowView)e.Row.DataItem;
string CustomerID = row["CustomerID"].ToString(); //DataList BulletedList = (DataList)e.Row.FindControls("BulletedList");
}
}
是在绑定的同时触发的