I am trying to work with an access database.
If this line pulls data from a dataset and puts it into a textbox:
TextBox1.Text = Me.A_DataSet.a_Table.Rows(0).Item(0).ToString
How would I pull the field name? For Example, in this database I have 3 fields:
ID, Name, Phone
1, NJD, 123
2, DRD, 322
So pulling row 0 item 0 would give me "1"
But how do I get "ID", "Name", or "Phone"?
its gotta be
Me.A_Dataset.a_Table.?????
Any help would be much appreciated! And thanks in advance!
Nick
If this line pulls data from a dataset and puts it into a textbox:
TextBox1.Text = Me.A_DataSet.a_Table.Rows(0).Item(0).ToString
How would I pull the field name? For Example, in this database I have 3 fields:
ID, Name, Phone
1, NJD, 123
2, DRD, 322
So pulling row 0 item 0 would give me "1"
But how do I get "ID", "Name", or "Phone"?
its gotta be
Me.A_Dataset.a_Table.?????
Any help would be much appreciated! And thanks in advance!
Nick