Creating column variables using DataTable
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Creating column variables using DataTable

Hybrid View

  1. #1
    Join Date
    Apr 2013
    Location
    USA
    Posts
    6

    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.

  2. #2
    Join Date
    Apr 2013
    Location
    USA
    Posts
    6

    Re: Creating column variables using DataTable

    .NET 4.0 is the version I'm programming under

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center