473,326 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Databinding - Datagridview

I've installed visual studio c# express, .net SDK 2.0, SQL Server
Express, created a table in the SQL database and filled this with some
data-rows. I dragged the database-table from Data Source-pane to the
Form-designer to created a datagridview-form. When I then build and
run the program the datagridview is nicely filled with database-data.
But when I add or modify the data inside the datagridview in the
running program the database isn’t updated. How could this be
done? I want the database-table to be updated automatically when I
modify data inside the datagridview. I think this has something with
data binding to do, but I can't figure out how it could be done.
Nov 16 '05 #1
0 4082

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bob | last post by:
I had a SQL server 2005 table in which I noticed I mispelled a column name. I changed the column name in the sql server table but after that, in the UI fortm using the table, the dataset control...
1
by: Dave A | last post by:
Hi, I am struggling with two way databinding in WinForms and the DataGridView. I am binding to business object classes (rather than datatables). If I have a collection of these business...
9
by: helpful sql | last post by:
Hi all, I have a DataGridView control in my Windows Forms application. I am binding it to a DataTable in another assembly. The name of the assembly is ActivityListDALC. I want to bind my grid to...
11
by: John J. Hughes II | last post by:
I have a DataGridView displaying data from a DataSet. To the right of that I have a custom user control which displays one of the data set fields. The custom user control is bound to the data set...
1
by: Pieter | last post by:
Hi, My problem: When the cursor is on a given row in the DataGridView, the data in the row has to be shown in TextBoxes underneath the DataGridView. the user must be able to edit in the...
2
by: Jim in Arizona | last post by:
Sorry for the x-post. There seems to be very little if any activity on the windowsforms group. Nearly all my experience so far has been with web forms so I'm just learning to work with windows...
3
by: jimmarq | last post by:
Please help me with this databinding scenario: Suppose I have a "Person" class, and that users populate Person objects in a BindingList collection through a datagridview. Users save the Person...
0
by: CSharpie1000 | last post by:
I am sorry for the broadness of this question, but I litterally can't get anywhere with this. I have a dataGridView that loads data from an Access 2007 Database. This works fine. I would like...
4
by: John Wright | last post by:
I have set up a datagrid on my form with six columns. I want to capture the data from six textboxes on the form and add them to the datagrid. All the info I can find about this is with datatables...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.