S
shelleybobelly
Hi, I am trying to use the ItemCommand in a datagrid (web form) to
display *fields* from the specific row. Each row in the dataset has a
primary key.
The dataset single table is filled from a data adapter and SOME of the
fields are displayed in a datagrid. Everything groovy, no problem.
Now I want the user to click the ReqID (primary key link label) in the
datagrid and display fields FROM THAT ROW ONLY in some labels on the
form. I can't get it to return a field. I am about to give up and go
make another round trip to the database. Which seems silly because I
ALREADY have the data in my dataset. This is all read-only so maybe
could use a late-bound datareader. Not sure.
HELP!
Thanks,
Shelley
display *fields* from the specific row. Each row in the dataset has a
primary key.
The dataset single table is filled from a data adapter and SOME of the
fields are displayed in a datagrid. Everything groovy, no problem.
Now I want the user to click the ReqID (primary key link label) in the
datagrid and display fields FROM THAT ROW ONLY in some labels on the
form. I can't get it to return a field. I am about to give up and go
make another round trip to the database. Which seems silly because I
ALREADY have the data in my dataset. This is all read-only so maybe
could use a late-bound datareader. Not sure.
HELP!
Thanks,
Shelley