62,269
社区成员
发帖
与我相关
我的任务
分享
public DataTable bindtable(string info)
{
try
{
conn=new SqlConnection(sqlconn);
conn.Open();
da = new SqlDataAdapter(info,conn);
ds = new DataSet();
da.Fill(ds);
}
catch(Exception ee)
{
throw ee;
}
finally
{
Close();
}
return ds.Tables[0];
}