Click here to Skip to main content
15,920,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I am using a Grid View Control to display a Users Data depends upon his login but when I showing I want only some fields to be editable while other should not be editable. Can we do this any way? and

Can we display the grid view in Horizontal form not in vertical format.

Any one please help me out of here....
I am using Vb.Net 2010

Thanks in Advance
Ganesh Kumar Poosarla
Posted

1 solution

You can do this by

HTML
Enabled='<%# Convert.ToString(Eval("db_column")) == somecondition ? false : true %>'


put this on your linkbutton.
 
Share this answer
 
v2
Comments
Karthik Harve 3-Jan-12 1:55am    
[Edit] pre tags added.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900