you need to add this
namespace in your code:
System.Windows.Form;
// it will include all the controls of form app in your asp. net app.
now when you click on Add Data(whatever name you've taken), write this code below your code:
MessageBox.Show(here your value var+" added succesfully");
Hope this will help you. Thanks