删除控件的位置
我用dataGridView1控件,但是我想问问,那个 删除 修改能不能放在 dataGridView1显示每行数据的旁边呢? 请求图解 我刚学C#,请求支持
public_Class xs = new public_Class(); //引用公共类 // SqlConnection cn = new SqlConnection("server = .; database =d;uid =sa;pwd ="); string sql = "select (select count(1)+1 from v where Id>table1.Id) as 序列号,data as 时间,dz as 地址,sf as 省份 from v table1 order by Id desc"; SqlDataAdapter da = new SqlDataAdapter(sql, xs.DATABASE); //调用数据 DataTable dt = new DataTable(); da.Fill(dt); dataGridView1.DataSource = dt;: