Click here to Skip to main content
15,902,447 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to display the Confirmation dialog box, if the the field having value in gridview
Otherwise display the text box to enter the value.

Thanks in Advance
ZurdoDev 15-Aug-12 8:21am    
Please explain this more clearly.

1 solution

See in the Design View u can Set Empty data Field Value Message .So If there is No OUtput From database in grid .It will Show That Message .

<asp:gridview id="Grd1" runat="server" emptydatatext="No value" xmlns:asp="#unknown">

so if the grid is empty it will return Message as No Value
Share this answer

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