求各位大哥大姐帮帮忙 J# 怎么样才能从 DataSet 中读取单条数据 J#
SqlConnection conn = new SqlConnection( "Server=172.168.1.111;Database=SkillDetails;uid=123456;pwd=321456 ");
DataSet ds = new DataSet();
String strSQL= "SELECT EmployeeName,Employment_title FROM mstEmployeeBasic WHERE Employment_title <> ' ' ";
SqlDataAdapter da=new SqlDataAdapter(strSQL,conn);
da.Fill(ds, "mstEmployeeBasic ");
怎样能得到 DataSet里的某条数据啊?
或者某个字段的值
[解决办法]
搂主的问题我似乎遇到过
.net里的用法都差不多