Click here to Skip to main content
16,018,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Gridview as follows

Select Descritpion

Link button AFF
Link button PSCRB
Link button MFA
Link Button (Blankrow)
Link button PSC
Link button REO
Link button RM
Link Button (Blankrow)

In gridview 4throw and 8th row is blank row i want to remove the Linkbutton for 4th row and 8th row for that how can i do in asp.net using c#.
Posted
Comments
Mukesh Pr@sad 21-Jul-15 3:58am    
Go to gridView designer and remove the 4th row and 8th row design code.
Sinisa Hajnal 21-Jul-15 4:06am    
If you're using datasource bound to the grid: remove empty rows from datasource before binding it to the grid. Grid should be only dumb "show me the data" control.
Suvendu Shekhar Giri 21-Jul-15 4:10am    
Can you share the code you have used to bind the gridview?

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