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

InsertCommand Required after Databasechanged....

daniel aristidou
491 256MB
Distress Call

Grrr Vb08 ......
Hi i created a database application that is now returning errors when i insert new records

It was not doing this before i changed my backend database (access)

im using the following code to update datset
Expand|Select|Wrap|Line Numbers
  1.  me.Tablemanager1.updateall(Customerdatbase)
Now however it says i need a valid insert command...i did not require one before......
Any solutions Anyone?

Thanks Daniel(~_~)
Jan 28 '08 #1
1 924
daniel aristidou
491 256MB
By solutions i mean.... does anybody understand why this happened....
Before i was using the automatic way of adding new records.....ie the inbuilt button on the datanavigator......
Now what should i do......Scrap the button and insert my own??
Jan 30 '08 #2

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

Similar topics

0
by: hamid S | last post by:
Hi, I am new to ADO.Net and I am getting system error when I try to issue the System Error and sqlDataAdapter.InsertCommand.ExecuteNonQuery to update the database. What could be wrong. Please...
0
by: Ivaylo | last post by:
I use OleDbAdapter to fill my dataset from Access database and tables with autoincrement id columns.Also i created xsd schema for my dataset The problem is that the dataset automatically add neu...
5
by: Darryn Ross | last post by:
Hi, I am running an insert statement into an access database, but i don't want to add information to every column in my table... when i run my insertcommand the following exception is thrown......
1
by: Luboą ©lapák | last post by:
Hi, I need define InsertCommand in SQLDataAdapter, but I don't know how. Please Help me. I don't know the format of InsertCommand. Thanks
3
by: Jon S via DotNetMonster.com | last post by:
Hi all, I'm having a problem updating a simple change I've made to a Access 2000 table through databinding. The error I get is : An unhandled exception of type...
1
by: zoneal | last post by:
I retrieved the following function from VB.NET help and added a few statements for updating the datasource. But, it does not actually commence the InsertCommand property of the DataAdapter in order...
3
by: Rich | last post by:
What is the diffeence bewtween a dataAdapter.InsertCommand and dataAdapter.SelectCommand (and dataAdapter.UpdateCommand for that matter)? Dim da As SqlDataAdapter conn.Open da.SelectCommand =...
2
Elnath
by: Elnath | last post by:
im connecting to a DataBase tru ODBC, i need to insert new records (rows) therefore i want the InsertCommand to be generated by my CommbadBuilder. This solution however is aint working, the...
2
by: RP | last post by:
>From the below given codes used to insert a record in a table, which code is well-optimized and must be used. Please also let me know why it is better. ...
2
by: Cirene | last post by:
In my HTML view of my ASPX page how do I use the NOW() function for the InsertCommand? This doesn't seem to work... Code snippet: <asp:SqlDataSource ID="sdsPress" runat="server"...
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...
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: 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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.