Guys I know there is a way of only writting 2 lines of code in VB.Net when Connecting to a database that are DataAdapter.fill(Dataset, "Tablename") and then u can have all the buttons required such next, delete, previous, last and so forth without adding them but I dont know how to do that please I Need help soon

Thanx in advance

Bind your table to a bindingsource:

Dim bs as new bindingsource
bs.datasource = dataset.tables("Tablename")

'Add a bindingnavigator from your toolbox to your form (= BindingNavigator1)

BindingNavigator1.bindingsource = bs

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.