Click here to Skip to main content
Click here to Skip to main content
 
Alternatives (1)

How to get Hidden Column Value in GridView

, 12 May 2010
Suppose I want to display Address details in GridView but don't want to display AddressId then I will hide column that displays AddressId. GridView has CheckBox also to select Addresses. Now at runtime on click of button I want to get AddressId of all selected Addresses in that case if I use...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

18 Jun 2010
wouter vegter
Alternative way for 1B, this one is way faster :) : protected void btnSelect_Click(object sender, EventArgs e) { Button btn = (Button)sender; DataControlFieldCell dfc = (DataControlFieldCell)btn.Parent; GridViewRow gvr =...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Nidhi P Bhargava
Software Developer (Senior)
India India
No Biography provided

| | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 13 May 2010
Article Copyright 2010 by Nidhi P Bhargava
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid