D
dew
How can I automatically select a grid based on the value of the
commandargument in the select link button?
When a user clicks on Select, the row he/she selects is highlighted, and the
command argument's value = ID (or the id field of the table that is the
datasource of the grid).
If I already have a value of the ID, I want to automatically select the grid
that has that value. How can I do that? In VB please, I don't understand
C -- for instance someone had a sample of
if (ID)
{
e.Item.BackColor = Color.Blue;
}
which makes no sense. What does (ID) mean, and how does it compare the
value of the record with the value that is being passed? And how does it
make the command argument equal to that value? Thanks so much for your help
and patience.
commandargument in the select link button?
When a user clicks on Select, the row he/she selects is highlighted, and the
command argument's value = ID (or the id field of the table that is the
datasource of the grid).
If I already have a value of the ID, I want to automatically select the grid
that has that value. How can I do that? In VB please, I don't understand
C -- for instance someone had a sample of
if (ID)
{
e.Item.BackColor = Color.Blue;
}
which makes no sense. What does (ID) mean, and how does it compare the
value of the record with the value that is being passed? And how does it
make the command argument equal to that value? Thanks so much for your help
and patience.