|
-
Jan 24th, 2006, 07:45 AM
#1
Thread Starter
New Member
Can't get or set a value via BindingSource
Example: Let's have an access database db.mdb with a table Cars, which has columns 'Type' and 'Price'.
I've added a new data source: dbDataSet to project, which is connected to db.mdb
dbBindingSource has the data source property set to dbDataSet.
Can I somehow add, edit or get values from table Cars through dbBindingSource at the current position?
Something like:
dbBindingSource.AddNew
dbBindingSource.Item("Type").Value = "Ford"
dbBindingSource.Item("Price").Value = "22000"
dbBindingSource.EndEdit
or
Euro.Text = dbBindingSource.Item("Price").Value * 1.2
doesn't EXIST!
Please assist, thanx very much.
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
|