Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Invalid attempt to call MetaData when reader is closed.?

, 2 Jan 2013
Hi,Here in the following code you are accessing the data reader and not closing it explicitly. if (dr.Read()) { cbPlaceoforder.SelectedValue = dr["antenatal_care_id"].ToString(); txtAgeofantenatalmother.Text = dr["age"].ToString();...

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 2-Jan-13 6:45 Available sisir patro
Updates in content. 11 changes had been made.
1 No 2-Jan-13 6:44 Available sisir patro

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author


| Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 2 Jan 2013
Article Copyright 2013 by sisir patro
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid