예제 #1
0
 public DataTable getEmpData()
 {
     return(TempleDb.ExecuteReader("SELECT Id,Name,Role,LoginId,Password,CreatedBy,CreatedOn FROM employees order by Id;"));
 }
예제 #2
0
 public DataTable GetAllasDataTable()
 {
     return(TempleDb.ExecuteReader("Select * From donors order by DonorName asc"));
 }