Ask following, essentially, this is what problem, how to solve
CodePudding user response:
Added:SqlConnection connection=new SqlConnection (the connectionString);
The DataSet ds=new DataSet ();
Connection. The Open ();
SqlDataAdapter command=new SqlDataAdapter (SQLString, connection);
Command. The Fill (ds, "ds");
Connection. The Close ();
Return the ds;
Among them, & lt; The add key="ConnectionString" value="HTTP://https://bbs.csdn.net/topics/server=localhost/sqlexpress; The database=MarkManagementSystem; Uid=sa; The PWD=123 "/& gt;
Made a mistake when I was NEW, reported in the title wrong, what is wrong, because the program is online, beginners, sometimes really look not to understand what was wrong with