0

Hi All,
I want to show user registration information which he fill up in registration form & he can edit it. So I use details view. but I want to hide some fields like user_id(Primary key) etc. & some fields that he can't edit.
How can I manage it..?

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by majestic0110
0

Can you set the fields to invisible?

For example:

DetailsView1.Fields[index_to_hide].Visible = false;

in your Page_Load event? where index_to_hide corresponds to the index in your collection you wish to hide.

I hope this helps.

Edited by majestic0110: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.