Click here to Skip to main content
15,897,187 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How do I put user control in toolbox Pin
nlarson1112-Jun-07 10:55
nlarson1112-Jun-07 10:55 
GeneralRe: How do I put user control in toolbox Pin
VFaul12-Jun-07 11:09
VFaul12-Jun-07 11:09 
AnswerRe: How do I put user control in toolbox Pin
Dave Kreskowiak12-Jun-07 13:00
mveDave Kreskowiak12-Jun-07 13:00 
GeneralRe: How do I put user control in toolbox Pin
VFaul13-Jun-07 3:29
VFaul13-Jun-07 3:29 
GeneralRe: How do I put user control in toolbox Pin
Dave Kreskowiak13-Jun-07 7:06
mveDave Kreskowiak13-Jun-07 7:06 
QuestionDatabinding, XML, DataGridView problem Pin
penguin500012-Jun-07 3:46
penguin500012-Jun-07 3:46 
AnswerRe: Databinding, XML, DataGridView problem Pin
ctlqt1212-Jun-07 6:03
ctlqt1212-Jun-07 6:03 
AnswerRe: Databinding, XML, DataGridView problem Pin
Dave Kreskowiak12-Jun-07 12:56
mveDave Kreskowiak12-Jun-07 12:56 
OK. This is a typical newbie misconception. The DataGridVIEW doesn't hold the data you're looking at. It mearly SHOWS it. The data is being held is a DataSet object, which is a collection of DataTables and DataRelation object. DataTables hold DataColumns and DataRows.

If you added the column to the DataGridView, you just added a column that can be used to VIEW data, not hold it. You have to add the new column to the DataTable that will hold the data your adding. This will update the schema that's used to write the XML file.


A guide to posting questions on CodeProject[^]

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


GeneralRe: Databinding, XML, DataGridView problem Pin
penguin500012-Jun-07 22:13
penguin500012-Jun-07 22:13 
GeneralRe: Databinding, XML, DataGridView problem Pin
Dave Kreskowiak13-Jun-07 2:31
mveDave Kreskowiak13-Jun-07 2:31 
GeneralAttach to correct object. Pin
V.12-Jun-07 3:20
professionalV.12-Jun-07 3:20 
GeneralRe: Attach to correct object. Pin
Dave Kreskowiak12-Jun-07 12:52
mveDave Kreskowiak12-Jun-07 12:52 
GeneralRe: Attach to correct object. Pin
V.12-Jun-07 20:18
professionalV.12-Jun-07 20:18 
GeneralRe: Attach to correct object. Pin
Dave Kreskowiak13-Jun-07 2:48
mveDave Kreskowiak13-Jun-07 2:48 
GeneralRe: Attach to correct object. Pin
V.13-Jun-07 3:21
professionalV.13-Jun-07 3:21 
QuestionFunction doesn't make sense [SOLVED][modified] Pin
Richard Jones12-Jun-07 3:05
Richard Jones12-Jun-07 3:05 
AnswerRe: Function doesn't make sense Pin
Thomas Stockwell12-Jun-07 3:24
professionalThomas Stockwell12-Jun-07 3:24 
GeneralRe: Function doesn't make sense Pin
Richard Jones12-Jun-07 3:47
Richard Jones12-Jun-07 3:47 
GeneralRe: Function doesn't make sense Pin
Dave Kreskowiak12-Jun-07 12:50
mveDave Kreskowiak12-Jun-07 12:50 
GeneralRe: Function doesn't make sense Pin
Richard Jones13-Jun-07 1:38
Richard Jones13-Jun-07 1:38 
GeneralRe: Function doesn't make sense Pin
Dave Kreskowiak13-Jun-07 3:09
mveDave Kreskowiak13-Jun-07 3:09 
GeneralRe: Function doesn't make sense Pin
Richard Jones13-Jun-07 3:35
Richard Jones13-Jun-07 3:35 
GeneralRe: Function doesn't make sense Pin
Dave Kreskowiak13-Jun-07 7:02
mveDave Kreskowiak13-Jun-07 7:02 
GeneralRe: Function doesn't make sense Pin
Richard Jones13-Jun-07 7:36
Richard Jones13-Jun-07 7:36 
GeneralRe: Function doesn't make sense Pin
Steven J Jowett12-Jun-07 3:56
Steven J Jowett12-Jun-07 3:56 

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.