GridView CheckBox当翻页时保存选中的项
2007-08-06 11:04
375 查看
1 public bool DelDynamicAccountFlowinfo(string sID)
2 {
3 string sqlstr=string.Format("delete from DynamicAccountFlow where DAFID IN({0})", sID);
4 conn = Myconn.SqlConnection;
5 SqlCommand mycommand = new SqlCommand(sqlstr, conn);
6 mycommand.CommandType = CommandType.Text;
7 mycommand.CommandText = sqlstr;
8 conn.Open();
9 mycommand.ExecuteNonQuery();
10 conn.Close();
11 return true;
12 }
2 {
3 string sqlstr=string.Format("delete from DynamicAccountFlow where DAFID IN({0})", sID);
4 conn = Myconn.SqlConnection;
5 SqlCommand mycommand = new SqlCommand(sqlstr, conn);
6 mycommand.CommandType = CommandType.Text;
7 mycommand.CommandText = sqlstr;
8 conn.Open();
9 mycommand.ExecuteNonQuery();
10 conn.Close();
11 return true;
12 }
相关文章推荐
- 工作小结(十七)-GridView 翻页后保存CheckBox列的选中状态
- GridView中添加一个CheckBox列,翻页后保存选中状态
- GridView CheckBox当翻页时保存选中的项(viewstate)
- jq:翻页时,保存上页多选框checkbox选中状态
- GridView中的CheckBox 翻页时记录选中状态
- GridView中的CheckBox 翻页时记录选中状态
- jQuery 操作checkbox翻页保存选中状态
- 关于GridView翻页checkBox状态保存的问题
- 关于GridView翻页checkBox状态保存的问题
- GridView CheckBox 翻页不保存状态
- GridView中 选中checkbox,在上下页 保存选中的值
- 实现GridView翻页并且实现CheckBox选中功能的保持
- 翻页时保存Checkbox的选中状态
- GridView 翻页后保持checkbox选中状态
- GridView翻页记住选中的checkbox
- GridView翻页记住选中的checkbox
- 保存GridView checkbox 选中的状态(Session)
- jq:翻页时,保存上页多选框checkbox选中状态
- 关于GridView翻页checkBox状态保存的问题
- GridView中CheckBox 翻页保存