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里的用法都差不多