Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Dudes! Great site. You've saved me hours and hours...and I have just started using your site. I've already passed your URL onto my entire company. Keep up the awesome work. Bingo-bango..."

Geography

Where in the world do Tek-Tips members come from?
targa72 (TechnicalUser)
17 Jul 11 11:08
How do you update a base table after changing the contents of a cell in C1TrueDBGrid. This is only my second try at VB.NET. I've used TrueDBGrid  in VB6 and as long as the allow updates was true the data base would update. It appears that with C1 I need to write more code for this to happen, but what? Here is the code I've tried in both the AfterColUpdate and AfterUpdate.
 
  ds = New DataSet
        C1TrueDBGrid1.UpdateData()
        ds.Tables.Add("tblTransactions")
        adp.Update(ds, "tblTransactions")
 
The grid is filled from two tables using SELECT with an INNER JOIN. The 'tblTransactions' is one of the two tables and the only one that needs updating
 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close