Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanted to show the gridview with the first row as blank row . How can I achive this?
Posted
Comments
Charan_Kumar 25-Feb-14 0:13am    
use emptydatatemplate

If you want to show empty gridview then refer this:
http://www.aspdotnet-suresh.com/2010/12/v-behaviorurldefaultvmlo.html[^]

or as said by charan kumar, use emptydatatemplate to indicate that the gridview is empty
 
Share this answer
 
v2
Comments
Ni!E$H_WAGH 25-Feb-14 1:34am    
Thanks .
Happy programming
Tom Marvolo Riddle 25-Feb-14 1:39am    
You are very welcome!
You can use GridView.EmptyDataTemplate Property[^] or show one blank row while binding the GridView described at Show GridView even if datasource is empty[^].
 
Share this answer
 
Comments
Ni!E$H_WAGH 25-Feb-14 1:34am    
Thanks .
Happy programming
Most Welcome. :)
Same to you.

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