hi,
i am using 1 sql command for selecting the values from one table,and another cmd for uing the where condition in another table,is it possible.
Thank u,
I wish to know how to use two sql commands in .net program
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Krishna GaradRank #191 · 12.8K reputationPosted Jan 26, 2011, 9:04 PM EST
Kapil Kumar17 reputationPosted Jan 26, 2011, 9:42 PM EST
Vijay YadavRank #1,637 · 943 reputationPosted Jan 27, 2011, 1:09 AM EST
You can use two command in your function, just remember that before writing the second command the datareader of the first commnd should be closed.
Thanks,
Vijay
Suthish NairRank #92 · 22.8K reputationPosted Jan 30, 2011, 8:19 AM EST
So other members can easily find the answers.