Home > ASP.NET > Yes No Confirmation box from server side in asp.net using C#



Yes No Confirmation box from server side in asp.net using C#

In this article, we will explore how to show a Yes-No confirmation box from server side in asp.net using C# with an example and sample code.


In this article, we will explore how to show a Yes-No confirmation box from server side in asp.net using C# with an example and sample code. In this example, we have taken GridView and HiddenField Control for this activity. When you click on Gridview delete button, it will ask for a confirmation popup model as Yes or No. If you click on Yes record will be deleted from database.

 

Table

We have shared the table structure for your reference.

Yes No Confirmation box from server side in asp.net using C#

 

Required Namespaces

We will need to use the following namespaces.

 

HTML

 

C#

 

Download




Note: All contents are copyright of their authors.



Comments



Leave a Reply

Comment:*
Email ID:*


Name:*