c#fill是什么
帮我解释一下Fill的意思stringsql="select*from[register]wherename='"+this.textBox1.Text.Trim()+"...
帮我解释一下Fill的意思
string sql = "select * from [register] where name = '"+this.textBox1.Text.Trim()+"' and idcard = '"+this.maskedTextBox1.Text.Trim()+"'";
SqlDataAdapter da = new SqlDataAdapter(sql, sqlConn);
da.Fill(ds);
谢谢~~~~ 展开
string sql = "select * from [register] where name = '"+this.textBox1.Text.Trim()+"' and idcard = '"+this.maskedTextBox1.Text.Trim()+"'";
SqlDataAdapter da = new SqlDataAdapter(sql, sqlConn);
da.Fill(ds);
谢谢~~~~ 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询