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

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.

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.