Search:
Type: Posts; User: wes4dbt
Search:
Search took 0.04 seconds.
-
If "int" equals 1 then you have problems it should be 0. Me.ServiceDataSet1 and ServiceDataSet1 are actually two different instances of the ServiceDataSet1 dataset. That really shouldn't happen, I...
-
There is something strange going on,
Either Me.ServiceDataSet1.AcceptChanges() and ServiceDataSet1 refer to two different instants of the dataset or ...
-
I'm curious, where did you add this line "Me.ServiceDataSet1.AcceptChanges()" . Because when you call the TableAdapters Update method, it basically does an AcceptChanges after it updates the...
-
Did you try refilling the datatable as kpmc suggested? It would be a good test and provide useful information.
Why are you calling AddNew on the PartsBindingSource and not...
-
I can't see the problem, but I did notice the Service tableadapter/DataSet has a "1" on the end and the Part and Wrangler didn't. It makes me wonder if you might have 2 Service...
-
Rob,
Don't insert the code using the Quote. Use the "#" then insert the code. That way your code will retain it's formatting and make it a lot easier for use to read.
-
This can happen if your using an Identity/AutoNumber field and didn't take the step of retrieving the value when you updated the database. You can do that using the dataadapters "RowUpdated" event....
-
Even if you insert a new row manually without using the datagridview, you still don't need to refill the datatable.
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles...
-
No it wont. Test it, I have.
-
There's no vodo, the dataadapter acts the same.
Imports System.Data.SqlClient
Public Class Form9
Private con As New SqlConnection(My.Settings.BooksDBConnectionString)
Private da As...
-
You do not have to refill the datatable after calling the Tableadapter.Update method. Unless your using multiple tableadapters/datatables for the same database table for some strange reason.
This...
-
Yeah, jmc is right. You should only use one database. That database would contain your three tables, no need to have a separate database for each table, it just complicate things.
As for your...
-
Change
MessageBox.Show("Error fix your ****")
to
MessageBox.Show(ex.ToString)
Then post back what the error is.
|
Click Here to Expand Forum to Full Width
|