2
Answers

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

ZAIN ULARIFEEN

ZAIN ULARIFEEN

11y
1.2k
1
 

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)