473,378 Members | 1,312 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,378 software developers and data experts.

Save DataGridView to .mdb

133 100+
Hello all experts,

I am using vb 2008 and i am trying to use UpdateALL to save any changes
back to the .mdb but im getting this error :

TableAdapterManager contains no connection information. Set each TableAdapterManager TableAdapter property to a valid TableAdapter instance.

this is the code im using to save

Expand|Select|Wrap|Line Numbers
  1.         Me.Validate()
  2.         Me.StudentsDataSet.EndInit()
  3.         Me.TableAdapterManager.UpdateAll(Me.StudentsDataSet)   'this is where i get the error 
  4.  
i have an example from a cd that came with a book that i bought
Microsoft Visual Basic 2008 by Michael Halvorson
and his example works but when i try to replicate it, it errors on trying
to save. I have read the book over and over but its not doesnt explain
anything about this error.

Any help would be so apprieciated because i have soured google for many
hours with not even a tiny hint on what to do.

GobbleGob.
May 20 '08 #1
2 3333
kenobewan
4,871 Expert 4TB
I haven't used 2008 yet but sounds like you are missing a connection string with the associated tableadapter. Here is an article that may help:
ObjectDataSource
May 20 '08 #2
gobblegob
133 100+
I haven't used 2008 yet but sounds like you are missing a connection string with the associated tableadapter. Here is an article that may help:
ObjectDataSource
Thanks for the link bit hard to understand tho

GobbleGob.
May 22 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: JeffGoneMad | last post by:
Hi, I'm kind of a newbie to VB, so I hope this doesn't seem too trivial. I have a problem with the DataGridView control. I can find all kinds of stuff about populating data in a DataGridView...
10
by: Henok Girma | last post by:
Hello Gurus, I want to save the state of an unbound DataGridView on my Windows Form application to an XML file so i can later load it back.. Basically, on my form I have a DataGridView, it's got...
0
by: Diogo Alves - Software Developer | last post by:
Greetings Everyone! Here's my issue, I have a datagridview, and I'm already using currentCellChanged Event. What I want to do is... before the currentCellChanged, check if the user any...
6
by: alexia.bee | last post by:
Hi all, I am new to C# so please bear me :). I have an app which uses datagridview. it has 8 columns. I also have struct which has 8 members(the same as the datagridview). when I add row to...
1
by: Masterfrier | last post by:
Hi guys! I have a DataGridView populated from various textfiles. I need to be able to save the content from this datagridview as an XML file. How can this be done without using a dataset...
0
by: Cat | last post by:
Hi. What I am trying to do is very simple, but it somehow didn't work. I had created a table in a .MDB file, That table had 5 fields and one of which was the primary key. I added a DataGridView...
5
by: GS | last post by:
I Google search for answer to detected changes to the current row in detail view of a windows form ( not datagridview), so far I have not got the right search term to get me the answer, certainly I...
0
by: Ryan Liu | last post by:
I found DataGridView in .NET 2.0 has a bug, or maybe I used it in a wrong way, just try to confirm with you guys: I have a checkbox column in it, and a save button on the form try to save...
2
by: veer | last post by:
hi i want to save the value which i write in the datagridview cells how can i do actually i want to insert the value into the ms acees table by writting the values in gridview cells and then...
4
by: Christian | last post by:
Hi, how i can save the rows in a DataGridView in c# 2008? i haven't a DB but only datagridview...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.