Rowupdating event in gridview in asp net example
Here, I have assumed that you will create the respective stored procedure yourself into the database or you may download attachment from using System; using System. In this case definitely the passing number of variable will not be good idea. As we don't have any business logic here so simply instantiate the Person DAL3 class of DAL and call methods. Now we have all set to go, now just run your project and try inserting records. Is Valid method just to check if correct data has been entered. In the above code, first I am validating the page by using Page.Because I am trying to implement this but not getting it.
I'm use to binding the gridview to the sqldatasource, but want to learn more on the way you created this page. But Sheo Narayan, as in this example you are creating DAL and BAL inside App_Code, I need an architecture wherein the DAL and BAL should be outside App_Code folder.
3-Tier architecture is a very well know buzz word in the world of software development whether it web based or desktop based. Below is the code for BAL (Your can overwrite your default written code for the class file by pasting this code). You can also navigate to another page your created (list.aspx) and try updating, deleting records.