|
-
Jul 18th, 2008, 09:46 AM
#1
Thread Starter
Junior Member
no error handling on dataset inesert?
hi
im using vb.net 2005
I have a simple insert using a typed dataset
exactly the same process in another project works fine
Dim newRow As myDataSet.tblFieldRow = myDataSet.tblField.NewRow
newRow.firstname = "jon"
newRow.surname = "smith"
myDataSet.tblField.AddtblFieldRow(newRow)
No data is being inserted into tblfield , but there is no error message
again this works fine , inserting the data in another project
It gives no error message when running the code , so I just dont know where to start debugging this
any ideas ?
thanks
-
Jul 18th, 2008, 12:30 PM
#2
-
Jul 18th, 2008, 12:33 PM
#3
Re: no error handling on dataset inesert?
try with
Code:
Dim newRow As datarow = myDataSet.tblField.NewRow
__________________
Rate the posts that helped you 
-
Jul 18th, 2008, 12:44 PM
#4
Re: no error handling on dataset inesert?
Do you mean it doesn't insert the row into the tblfield in your database
or it doesn't insert hte row into the table in your dataset?
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|