April 22nd, 2013, 02:29 PM
Creating column variables using DataTable
I'm trying to name variables that correspond with the columns of a DataTable. I have been unsuccessful in getting the DataTable Columns in this variable. Not much on the internet on finding out how to do this. I was using SQL until DataTable came into play which is ADO.net. I'm not familiar with ADO.net but I have been programming in the .NET platform for about 2 years. C# is one of my newest and quickest grasping languages. Can anyone help me? I'm experimented with DataTable.Columns and the subclasses of that but I still haven't prevailed. Trying to format each column to a specific format through the program in which I will be using a string buffer. That part can be taken care of once I can select the entire column for formatting.
April 22nd, 2013, 02:33 PM
Re: Creating column variables using DataTable
.NET 4.0 is the version I'm programming under
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.