By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,301 Members | 1,999 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,301 IT Pros & Developers. It's quick & easy.

Program related to treeview showing parent table contents and child table contents

P: 21
i created one sqldatareader that reads parent table records.
While(dr.Read())

inside this while i create another sqldatareader and new command that reads child table records.but it is giving an error while executing second datareader that please close the first datareader(which is accessing parent table records.)


How to do that
Oct 21 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.