您的位置:首页 > 其它

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 }
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: