S
Steve B.
Hi,
I'm building an ASP.Net 2.0 web application that uses the gridview control
(read only).
This gridview is filled by a DataTable which is the result of the select
method of an object binding source (which is a WebService but I don't think
it matters).
I also have a querystring parameter "id" and I want to "Select" the row of
the gridview that match one of its column (which is the primary key of my
table).
I did not succeed in setting the .SelectedRow since it's a readonly
property. I also tryed to set the selectedindex of the gridview, but I don't
know the index of the row before the databind.
How can I reach my goal ?
Thanks in advance,
Steve
I'm building an ASP.Net 2.0 web application that uses the gridview control
(read only).
This gridview is filled by a DataTable which is the result of the select
method of an object binding source (which is a WebService but I don't think
it matters).
I also have a querystring parameter "id" and I want to "Select" the row of
the gridview that match one of its column (which is the primary key of my
table).
I did not succeed in setting the .SelectedRow since it's a readonly
property. I also tryed to set the selectedindex of the gridview, but I don't
know the index of the row before the databind.
How can I reach my goal ?
Thanks in advance,
Steve