Click here to Skip to main content
15,915,857 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Progress indicator Pin
Thomas Stockwell4-Jun-07 8:22
professionalThomas Stockwell4-Jun-07 8:22 
QuestionVBA Excel Help Pin
Duane in Japan4-Jun-07 3:50
Duane in Japan4-Jun-07 3:50 
QuestionAfter sorting in a DataGridView the Row.EndEdit causes row change Pin
Marcus J. Smith4-Jun-07 2:36
professionalMarcus J. Smith4-Jun-07 2:36 
AnswerRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Dave Kreskowiak4-Jun-07 9:01
mveDave Kreskowiak4-Jun-07 9:01 
GeneralRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Marcus J. Smith4-Jun-07 9:17
professionalMarcus J. Smith4-Jun-07 9:17 
GeneralRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Dave Kreskowiak4-Jun-07 10:24
mveDave Kreskowiak4-Jun-07 10:24 
GeneralRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Marcus J. Smith4-Jun-07 10:56
professionalMarcus J. Smith4-Jun-07 10:56 
GeneralRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Dave Kreskowiak4-Jun-07 13:38
mveDave Kreskowiak4-Jun-07 13:38 
So long as the textbox's are bound in the same binding context, managed by the bindingsource) as the datagrid, you don't have to do anything. It happens automatically!

Try it! Start a new project. Create a form with a DGV and a couple of textboxs on it and add a bindingsource object to the form. Write some SQL to fill a datatable with a few columns of data and bind the BindingSource to the DataTable. Bind the DGV and the TextBox's to the BindingSource, like in my previous post, and try it! It might just surprise you.


A guide to posting questions on CodeProject[^]

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


GeneralRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Marcus J. Smith5-Jun-07 2:26
professionalMarcus J. Smith5-Jun-07 2:26 
GeneralRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Marcus J. Smith5-Jun-07 8:09
professionalMarcus J. Smith5-Jun-07 8:09 
GeneralRe: After sorting in a DataGridView the Row.EndEdit causes row change Pin
Dave Kreskowiak6-Jun-07 16:36
mveDave Kreskowiak6-Jun-07 16:36 
QuestionDataSet writing errors with code Pin
Quecumber2564-Jun-07 2:26
Quecumber2564-Jun-07 2:26 
AnswerRe: DataSet writing errors with code Pin
Sathesh Sakthivel4-Jun-07 3:12
Sathesh Sakthivel4-Jun-07 3:12 
GeneralRe: DataSet writing errors with code Pin
Quecumber2564-Jun-07 4:53
Quecumber2564-Jun-07 4:53 
GeneralRe: DataSet writing errors with code Pin
Marcus J. Smith4-Jun-07 9:20
professionalMarcus J. Smith4-Jun-07 9:20 
GeneralRe: DataSet writing errors with code Pin
Quecumber2564-Jun-07 10:17
Quecumber2564-Jun-07 10:17 
Questionvb.net Pin
srinivassam4-Jun-07 2:01
srinivassam4-Jun-07 2:01 
AnswerRe: vb.net Pin
kubben4-Jun-07 2:26
kubben4-Jun-07 2:26 
AnswerRe: vb.net Pin
Christian Graus4-Jun-07 2:52
protectorChristian Graus4-Jun-07 2:52 
Questiona question about row-index Pin
vbbeg4-Jun-07 1:47
vbbeg4-Jun-07 1:47 
AnswerRe: a question about row-index Pin
Dave Kreskowiak4-Jun-07 4:06
mveDave Kreskowiak4-Jun-07 4:06 
GeneralRe: a question about row-index Pin
vbbeg4-Jun-07 4:56
vbbeg4-Jun-07 4:56 
GeneralRe: a question about row-index Pin
Dave Kreskowiak4-Jun-07 6:32
mveDave Kreskowiak4-Jun-07 6:32 
GeneralRe: a question about row-index Pin
vbbeg4-Jun-07 7:11
vbbeg4-Jun-07 7:11 
GeneralRe: a question about row-index Pin
Dave Kreskowiak4-Jun-07 8:09
mveDave Kreskowiak4-Jun-07 8:09 

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.