hi,
i want to know y cant we access a value in a bound column in a datagrid which is made invisible or else is there a method to retrieve value from a bound column in a datagrid which is made invisible

Because invisible gridviewcolumns are not posted back, they are marked invisble and not added to viewstate.

If you want the value to to be posted back, set visible=true and ItemStyle and HeaderStyle of the gridviewcolumn display:none using css.

You can also use datakeynames

Or you can

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.