Click here to Skip to main content
12,954,672 members (54,474 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as


20 bookmarked
Posted 12 May 2010

How to get Hidden Column Value in GridView

, 12 May 2010 CPOL
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...


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 =...


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 | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 13 May 2010
Article Copyright 2010 by Nidhi P Bhargava
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid