G
Guest
how can i get the value from a specific column from the selected row of a
datagrid
in the sub i can get the datakey for item command
Me.dgMems.DataKeys(e.Item.ItemIndex) will get me the key field, but what if
i want the value of column(2). I get nothing when i use
Me.dgMems.Columns(2).ToString(). View state is on.
thanks
(and i hope i don't have to refill the dataset on each select!)
kes
datagrid
in the sub i can get the datakey for item command
Me.dgMems.DataKeys(e.Item.ItemIndex) will get me the key field, but what if
i want the value of column(2). I get nothing when i use
Me.dgMems.Columns(2).ToString(). View state is on.
thanks
(and i hope i don't have to refill the dataset on each select!)
kes