How do I do this?
Any suggestions or solutions would be appreciated.
Thanks!!!
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 14, 2013, 12:27 AM EST
arjun44 reputationPosted Jan 16, 2013, 12:25 AM EST
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....