ZAIN ULARIFEEN

ZAIN ULARIFEEN

  • NA
  • 133
  • 148.2k

how to use the following class for the insertion,data retrie

Jun 24 2013 6:00 AM
 

public DataSet GetData(string Query)

{

try

{

if (ds.Tables.Count > 0)

{

ds.Tables.Clear();

}

SqlDataAdapter adp = new SqlDataAdapter(Query, con);

adp.Fill(ds,

"s");

return ds;

}

catch (Exception)

{

throw;

return ds;

}

}


Answers (2)