I autogenerate a column of values from a List UserID; which is generated using stored Oracle procedure, which takes input string(if…id Like “%string%” return refcursor) ; So the UserId list looks like that in the grid:
UserID
1111555
2222111
3331113
…
Now based on search parameters lenth, this column migh be from 1 record to 10(if UserID.count>10 then error message),so everytime we see different values in the grid
My questrion is how to put links on these autogenerated UserID’s(which are in cells) that when user cliks on one of them I could get the selected id(1111555) and using it show another grid to the user:)
It’s probably very simple…
You can handle the
OnRowDataBoundevent as so:Where the UserID is the first column in the grid (Cell[0]). Here’s the markup: