Click here to Skip to main content
15,915,319 members
Home / Discussions / C#
   

C#

 
AnswerRe: serialPort Pin
Luc Pattyn30-Apr-10 5:31
sitebuilderLuc Pattyn30-Apr-10 5:31 
QuestionHow to create a datagrid in property grid Pin
Sangeetha2330-Apr-10 2:28
Sangeetha2330-Apr-10 2:28 
AnswerRe: How to create a datagrid in property grid Pin
Eddy Vluggen30-Apr-10 5:11
professionalEddy Vluggen30-Apr-10 5:11 
GeneralRe: How to create a datagrid in property grid Pin
Henry Minute30-Apr-10 6:52
Henry Minute30-Apr-10 6:52 
GeneralRe: How to create a datagrid in property grid Pin
Eddy Vluggen30-Apr-10 7:43
professionalEddy Vluggen30-Apr-10 7:43 
GeneralRe: How to create a datagrid in property grid Pin
Sangeetha232-May-10 18:17
Sangeetha232-May-10 18:17 
GeneralRe: How to create a datagrid in property grid Pin
Sangeetha232-May-10 19:29
Sangeetha232-May-10 19:29 
GeneralRe: How to create a datagrid in property grid Pin
Henry Minute3-May-10 3:15
Henry Minute3-May-10 3:15 
One possibility is to use a BindingSource[^] component as the DataSource for your DataGridView, then you can either have a Collection or DataSet as the DataSource of the BindingSource, or alternatively you can use the BindingSource as the Collection utilising its' Add, Insert, Remove and RemoveAt methods. Either way, all you need to do is programmatically add, delete or whatever, your new rows/child-blocks at the appropriate times. Because you will be using a BindingSource the changes to the collection should be automatically reflected in the DataGridView.

The BindingSource is a much under used component which is incredibly useful.
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

QuestionString formatting? Pin
Dirk C De Winnaar30-Apr-10 2:03
Dirk C De Winnaar30-Apr-10 2:03 
AnswerRe: String formatting? [modified] Pin
Luc Pattyn30-Apr-10 2:33
sitebuilderLuc Pattyn30-Apr-10 2:33 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 2:51
mentorNot Active30-Apr-10 2:51 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 3:13
sitebuilderLuc Pattyn30-Apr-10 3:13 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 4:06
mentorNot Active30-Apr-10 4:06 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 4:21
sitebuilderLuc Pattyn30-Apr-10 4:21 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 4:49
mentorNot Active30-Apr-10 4:49 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 4:54
sitebuilderLuc Pattyn30-Apr-10 4:54 
AnswerRe: String formatting? Pin
Not Active30-Apr-10 2:47
mentorNot Active30-Apr-10 2:47 
GeneralRe: String formatting? Pin
Dirk C De Winnaar30-Apr-10 3:34
Dirk C De Winnaar30-Apr-10 3:34 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 4:18
mentorNot Active30-Apr-10 4:18 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 4:22
sitebuilderLuc Pattyn30-Apr-10 4:22 
AnswerRe: String formatting? Pin
V.30-Apr-10 3:47
professionalV.30-Apr-10 3:47 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 4:50
sitebuilderLuc Pattyn30-Apr-10 4:50 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 5:22
mentorNot Active30-Apr-10 5:22 
AnswerRe: String formatting? Pin
PIEBALDconsult30-Apr-10 6:40
mvePIEBALDconsult30-Apr-10 6:40 
QuestionGridvIewCell Click Pin
jitendra sandu30-Apr-10 1:57
jitendra sandu30-Apr-10 1:57 

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.