SqlDataAdapter.Fill没有数据返回,连接池和sql语句都是ok的

图片说明

DataSet ds = new DataSet();
sda.Fill(ds);
ds.Tables[0]

在da.commandtype下加上da.commandtext=你的sql语句看看。