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

Accessing Value from System.Data.DataTable : Tip

, 27 Oct 2010
Technically, the best approach here for speed and flexibility is to do the following:public class TestClass{ private const string EMP_ID = "EmpId"; public void MyTestMethod() { //GetData fetches data from the database using a SQL query DataTable dt =...

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 27-Oct-10 9:44 Available Andrew Rissing
1 No 26-Oct-10 10:19 Composing Andrew Rissing

License

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

Share

About the Author

Andrew Rissing
Software Developer (Senior)
United States United States
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.
 
So..If you're not moving forward, you're moving backwards.

| Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 27 Oct 2010
Article Copyright 2010 by Andrew Rissing
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid