Click here to Skip to main content
12,695,365 members (28,965 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

Invalid attempt to call MetaData when reader is closed.?

, 2 Jan 2013 CPOL
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
2 - publicly available No 1-Jan-13 20:45 Available sisir patro
Updates in content. 11 changes had been made.
1 No 1-Jan-13 20: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


You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 2 Jan 2013
Article Copyright 2013 by sisir patro
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid