The value of the hidden digit in the GridView cannot be retrieved.

Source: Internet
Author: User
Only the rows originally set by the GridView and the DataGrid are a little different.
The hidden locations of the GridView before the bind data will not be affected by the DataBind ().
So it won't determine any information.
First, you can make all the bitwise parts visible.
Then, in the RowCreated event, use the program token to hide the hidden bit.
1 Public void GridView_OnRowCreated (object sender, GridViewRowEventArgs e)
2 {
3 E. Row [0]. Visible = false;
4 }
Not clear | print | please refer

Public void GridView_OnRowCreated (object sender, GridViewRowEventArgs e) <br/>{< br/> e. Row [0]. Visible = false; <br/>}< br/>
Because the data generated by the RowCreated event has already been sent to the GridView by bind.
Therefore, you should be able to obtain information
Http://www.purecs.net/Threads/t503.aspx

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.