Wednesday, August 11, 2010

How to select a gridview row without having special select button in each row, just by clicing on it anywhere

I want to select a row so that i can handle the underlying data in it. I dont want to use any template field or any extra column for this purpose.


I want the whole row just act like a hyperlink so that i can clicko on it and select the data of that row. I need some help regarding code for the above situation exactly. I am using C# and ASP.Net 2.0 . Please any one help


How to select a gridview row without having special select button in each row, just by clicing on it anywhere
In .NET there is a control called DataGridView that sounds exactly like what you are using. The DataGridView has a property called ';SelectionMode';, set this to ';FullRowSelect';.





This will enable an entire row to be selected when the user clicks anywhere within that row regardless of the cell.How to select a gridview row without having special select button in each row, just by clicing on it anywhere
visit the website you will get it


http://www.jumanjicomesback.blogspot.com
  • web hosting talk
  • loan
  • No comments:

    Post a Comment