Ejemplo n.º 1
0
 public static DataSet selecttestListbox()
 {
     DataSet set = new DataSet();
     try
     {
         ClassConnectDB conn = new ClassConnectDB();
         string sql = " SELECT * FROM [StructSubject] ";
         set = conn.QueryDataSet(sql);
         return set;
     }
     catch (Exception)
     {
         return null;
     }
 }