Table not holding data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm almost afraid to ask this cuz it might take a book 400 pages book long to answer. I created a form and a SQL Database. Added a datagridview to the form and assigned a table from the database. Simple. When I build it and run it, it allows me to enter data. Great. But when I close it and open it again, the data is gone. Darn! What step(sssss) am I missing here? This, btw, is in VB Express beta, and I'm (obviously) new to programming with VB and SQL.
 
Well spotted, it was the DataGridView which gave it away !

:-)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Are you missing and Update method call ?

Regards

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

CurtChicago said:
I'm almost afraid to ask this cuz it might take a book 400 pages book long
to answer. I created a form and a SQL Database. Added a datagridview to the
form and assigned a table from the database. Simple. When I build it and run
it, it allows me to enter data. Great. But when I close it and open it
again, the data is gone. Darn! What step(sssss) am I missing here? This,
btw, is in VB Express beta, and I'm (obviously) new to programming with VB
and SQL.
 
Back
Top