modifying data source from datagridview

M

Mochuelo

Hi,

I have Visual Studio 2005 and SQL Server 2005. I am new to this
database (although I've used others for years). First I'm just trying
simple things, like inserting a DataGridView in my form that, being
linked to a table in my database server, will allow me to visualize,
edit and _update_ that table, in the server. I have no problems to
visualize, edit, add rows, delete rows... in the DataGridView, but I
don't know how to _update_ the table in the database server. Which
method do I need to call? And on which component? Currently, I have
one DataSet, one BindingSource, one TableAdapter, and of course one
DataGridView.

TIA.
 
C

Cor Ligthert [MVP]

Mochuelo,

Why don't you make yourself a simple sample first using the designer.

Click Data -> Databases -> wizard for a simple table by instance northwind
Employees
Follow the wizard
Click Data -> Datasource - > drag the table northwind Employees on your form

A simple application with all what you now ask is than created.

Open for that the Show all files in the Solution explorer in the icon in top
of that to see it.

I hope this helps,

Cor


Drag the by you created
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top