Hey Just wanted to ask a quick question.

i am using a MS access database. i have done my selecting and filling of the dataset. What i was wanting to know is there a way to look at the name of the Column where the data is in. I was wanting to put it in a string so i could use that data to fill in somthing. plus i also got another thing i wanted to check in the title.

so does anyone know a way to select the title of the column and put it in a sting?

it would be great help if someone did :)

i Figured out how to do it :)

for anyone that has the same problem this is the code that can do it

TempData.Tables[0].Columns[0].ColumnName.ToString()

and if you do want to try a split it pretty easy to do

TempData.Tables[0].Columns[0].ColumnName.ToString().Split('_');

basicly do Split('Character that seprates the 2 bits of info')

hope this helps someone in the future

cgcgames