Hello all,
I'm having a hard time getting at my data that's in my DataTables. I can bind it to a data grid perfectly fine, but in my codebehind page I would like to assign a value that's in my DataTable to a variable like this:
objProdDataTable.Columns("prodID"
.DefaultValue
But it doesn't seem to work. Any ideas why this is or what I'm doing wrong...? Please let me know
I'm having a hard time getting at my data that's in my DataTables. I can bind it to a data grid perfectly fine, but in my codebehind page I would like to assign a value that's in my DataTable to a variable like this:
objProdDataTable.Columns("prodID"
But it doesn't seem to work. Any ideas why this is or what I'm doing wrong...? Please let me know