- 1
- 0
- 约1.39千字
- 约 2页
- 2021-10-03 发布于天津
- 举报
DataGridView 同步更新到数据库
一。绑定数据 SqlConnection con = null; SqlDataAdapter sa = null; SqlCommandBuilder sb = null; DataTable dt = null; BindingSource bs = null; 窗体时绑定 数据 private void DataBingding_Load(object sender, EventArgs e) { con = new SqlConnection(server=.;uid=sa;pwd=sa;database=pubs;); try { con.
原创力文档

文档评论(0)