Updating dataset with gridview

Rated 4.87/5 based on 915 customer reviews

STEP 7 : Create Business Logic Layer (BLL) Repeat same process as we created Data Access layer.

Here creating new class library project named “Businees Layer”.

we already discussed about 3 – tier architecture layers Presentation Layer, Business Logic Layer and Data Access Layer.

The trick is to add the row to the underlying data Table which is the datasource of the datagridview: Private Sub dgr Mod Sub Detail_Cell End Edit(By Val sender As Object, By Val e As System. Rich wrote: Interesting that not a lot of people are using the datagridview object yet. In my example (from an app I am currently working on) I add data to the new row to the datagridview. Data Grid View Cell Event Args) Handles dgr Mod Sub Detail.

first import namespace using Data Layer; using System; using System.

In this lesson i explained about how to create grid view with following functionalities like Insert,update,delete..

Add data with following code */ insert into Customer values('Gopala','Krishnan','India') Add the two class libraries with name of DAL and BLL like shown in figure and the class names also..

Dont forget to add reference of the BLL and DAL in Web Application and DAL in BLL.

Leave a Reply