How do I do this?
Any suggestions or solutions would be appreciated.
Thanks!!!
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
arjunPosted Jan 16, 2013, 5:25 AM
hope this may help u.....
sqlconnection con=new sqlconnection(conectionString);
sqlcommand cmd=new sqlcommand("SP_name",con);
cmd.commandtype=CommandType.StoredProcedure;
cmd.parameters.addwithvalue("@param_name","parameter value here");
sqldataAdapter sda=new sqldataAdapter(cmd);
dataset ds=new dataset();
sda.Fill(ds);
get values from dataset like
ds.Tabels[0].rows[0].columns[0].values
sothing like....
Satyapriya NayakPosted Jan 14, 2013, 5:27 AM