CodePudding user response:
Sqlcommand CMD=new sqlcommand ();CMD. Connenction=conn;
Cmd.com mandtext="select 123"
CodePudding user response:
Upstairs is the solution, the DataSet is emptyCodePudding user response:
Do you have in this open, isn't it a bit late?CodePudding user response:
conn.Open();SqlDataAdapter dapter=new SqlDataAdapter (SQL, conn);
The DataSet DataSet=new DataSet ();
Dapter. The Fill (dataSet);
CodePudding user response:
It has no value in your sb,