How to obtain the Hidden Column value when editing the Asp.net page [original]

Source: Internet
Author: User

When editing the Asp.net page, you must obtain the GV. Rows [E. neweditindex]. cells [10]. Text value (this column is a hidden column)

 

When setting the style, hiding the columns of the gridview will not work if visible = "false" is used. In this way, the column cannot be found in the generated page source file, and the column cannot be obtained,

Therefore, you can only use display: none and then use cssclass to call this CSS style. This column can be found only when GV. Rows [E. neweditindex]. cells [10.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.