Click here to Skip to main content
15,924,679 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: gdi+ and make text(font) one pixel width Pin
Dave Kreskowiak11-Oct-07 2:08
mveDave Kreskowiak11-Oct-07 2:08 
GeneralRe: gdi+ and make text(font) one pixel width Pin
mehdi001611-Oct-07 11:55
mehdi001611-Oct-07 11:55 
GeneralRe: gdi+ and make text(font) one pixel width Pin
Dave Kreskowiak11-Oct-07 12:12
mveDave Kreskowiak11-Oct-07 12:12 
Questionmainmenu in a mdi child Pin
ESTAN10-Oct-07 12:11
ESTAN10-Oct-07 12:11 
AnswerRe: mainmenu in a mdi child Pin
Dave Kreskowiak10-Oct-07 15:02
mveDave Kreskowiak10-Oct-07 15:02 
AnswerRe: mainmenu in a mdi child Pin
Johan Hakkesteegt10-Oct-07 21:28
Johan Hakkesteegt10-Oct-07 21:28 
QuestionBound details form, how to force record update (vb.net 2005) Pin
pa2814010-Oct-07 10:46
pa2814010-Oct-07 10:46 
AnswerRe: Bound details form, how to force record update (vb.net 2005) Pin
Dave Kreskowiak11-Oct-07 5:05
mveDave Kreskowiak11-Oct-07 5:05 
It doesn't even wait for the form to close. Any changes made to the dataset are only written back to the database when the little blue disk is clicked. If you close the form before clicking that disk, all changes are lost.

If you want to automatically save changes when the use moves to another record, handle the BindingSource's PositionChanged or CurrentChanged events and call the Update method on the TableAdapter and pass in the datatable object, just like you find in the code for the little blue disk's Click event.
Private Sub CustomersBindingSource_CurrentChanged(blah, blah) Handles CustomersBindingSource.CurrentChanged
    Me.Validate()
    Me.CustomersBindingSource.EndEdit()
    Me.CustomersTableAdapter.Update(Me.NorthwindCustomersDataSet.Customers)
End Sub




A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionHow to use the ProgressBar [modified] Pin
eviljohan10-Oct-07 8:19
eviljohan10-Oct-07 8:19 
AnswerRe: How to use the ProgressBar Pin
pmarfleet10-Oct-07 8:41
pmarfleet10-Oct-07 8:41 
GeneralRe: How to use the ProgressBar Pin
eviljohan10-Oct-07 13:03
eviljohan10-Oct-07 13:03 
AnswerRe: How to use the ProgressBar Pin
Dave Kreskowiak10-Oct-07 9:14
mveDave Kreskowiak10-Oct-07 9:14 
GeneralRe: How to use the ProgressBar Pin
eviljohan10-Oct-07 12:57
eviljohan10-Oct-07 12:57 
AnswerRe: How to use the ProgressBar Pin
Ajay.k_Singh10-Oct-07 10:59
Ajay.k_Singh10-Oct-07 10:59 
GeneralRe: How to use the ProgressBar [modified] Pin
eviljohan10-Oct-07 12:48
eviljohan10-Oct-07 12:48 
GeneralRe: How to use the ProgressBar Pin
Dave Kreskowiak10-Oct-07 14:59
mveDave Kreskowiak10-Oct-07 14:59 
QuestionRuler Pin
rishidubey10-Oct-07 7:32
rishidubey10-Oct-07 7:32 
AnswerRe: Ruler Pin
Dave Kreskowiak10-Oct-07 7:54
mveDave Kreskowiak10-Oct-07 7:54 
GeneralRe: Ruler Pin
rishidubey12-Oct-07 7:38
rishidubey12-Oct-07 7:38 
GeneralRe: Ruler Pin
Dave Kreskowiak12-Oct-07 13:14
mveDave Kreskowiak12-Oct-07 13:14 
GeneralRe: Ruler Pin
rishidubey14-Oct-07 7:27
rishidubey14-Oct-07 7:27 
GeneralRe: Ruler Pin
Dave Kreskowiak14-Oct-07 7:53
mveDave Kreskowiak14-Oct-07 7:53 
Questionbullet and numbering Pin
rishidubey17-Oct-07 8:03
rishidubey17-Oct-07 8:03 
AnswerRe: Ruler Pin
Patrick Etc.10-Oct-07 9:47
Patrick Etc.10-Oct-07 9:47 
GeneralRe: Ruler Pin
rishidubey12-Oct-07 7:35
rishidubey12-Oct-07 7:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.