111,123
社区成员
发帖
与我相关
我的任务
分享 // DataSet 用于有多个表的情况:
public DataSet ShowManyTable()
{
conn = GetConn();
comm = new SqlCommand("select * from ADMIN;select * from SHOP;", conn);
SqlDataAdapter da = new SqlDataAdapter(comm);
DataSet table = new DataSet();
da.fill(ds);
return ds;
}