Click here to Skip to main content
15,922,155 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Is .Net 2.0 is backward compatible with .Net 1.1? Pin
Christian Graus23-Jan-07 18:16
protectorChristian Graus23-Jan-07 18:16 
QuestionRe: Is .Net 2.0 is backward compatible with .Net 1.1? Pin
Sunil Jampa23-Jan-07 18:48
Sunil Jampa23-Jan-07 18:48 
AnswerRe: Is .Net 2.0 is backward compatible with .Net 1.1? Pin
Tim Paaschen23-Jan-07 19:29
Tim Paaschen23-Jan-07 19:29 
AnswerRe: Is .Net 2.0 is backward compatible with .Net 1.1? Pin
Rudolf Jan25-Jan-07 1:16
Rudolf Jan25-Jan-07 1:16 
AnswerRe: Is .Net 2.0 is backward compatible with .Net 1.1? Pin
Robert Rohde23-Jan-07 20:55
Robert Rohde23-Jan-07 20:55 
AnswerRe: Is .Net 2.0 is backward compatible with .Net 1.1? Pin
lmoelleb24-Jan-07 0:20
lmoelleb24-Jan-07 0:20 
GeneralRe: Is .Net 2.0 is backward compatible with .Net 1.1? Pin
Rob Graham24-Jan-07 10:23
Rob Graham24-Jan-07 10:23 
QuestionUsing BindingSource to edit stuff in a DataGridView Pin
Heavy Storm23-Jan-07 10:00
Heavy Storm23-Jan-07 10:00 
Hello ppl,

Long time since I posted anything here...
Well, I've written a small app that reads a file from the disk into objects and stores them in a list. Then, what I wanted was to edit each of these objects individually and save them back to the disk. Yeah, just a stupid editor.

So, I discover a nice thing about DataGridView: I can use it together with BindingSource to access items in a List<>. Since I already have the list, I just do that:

<br />
_list = new Records("C:\\somefile.list");<br />
BindingSource bs = new BindingSource(_list, "");<br />
<br />
this.dgEntries.DataSource = bs;  // Set the datasource for the DataGridView<br />


Records is a class that implements the IList interface. So far, so good.
Thing is, I go ahead and delete a few rows from the list and expect to see the result. But unfortunatly, the BindingSource seems unable to propagate the change correcly. No change inflicted upon the DataGridView is propagated to the list. Actually, I can't even sort the list.

Does anyone has a insight over the subject? Anything that would shed a light on how to correctly use the BindingSource would help me a lot.

By the by, I'm using .Net Framework 2.0 and C#.
AnswerRe: Using BindingSource to edit stuff in a DataGridView Pin
Robert Rohde23-Jan-07 21:51
Robert Rohde23-Jan-07 21:51 
QuestionHandling Dispose when using unmanaged code Pin
AlexZieg7123-Jan-07 8:30
AlexZieg7123-Jan-07 8:30 
AnswerRe: Handling Dispose when using unmanaged code Pin
Dan Neely23-Jan-07 9:04
Dan Neely23-Jan-07 9:04 
AnswerRe: Handling Dispose when using unmanaged code Pin
Guffa23-Jan-07 11:37
Guffa23-Jan-07 11:37 
GeneralRe: Handling Dispose when using unmanaged code Pin
Tim Paaschen23-Jan-07 19:54
Tim Paaschen23-Jan-07 19:54 
GeneralRe: Handling Dispose when using unmanaged code Pin
Colin Angus Mackay24-Jan-07 22:16
Colin Angus Mackay24-Jan-07 22:16 
AnswerRe: Handling Dispose when using unmanaged code Pin
Scott Dorman28-Jan-07 6:53
professionalScott Dorman28-Jan-07 6:53 
QuestionCalculating Object Memmory Usage Pin
MikeMarq23-Jan-07 8:04
MikeMarq23-Jan-07 8:04 
AnswerRe: Calculating Object Memmory Usage Pin
Dave Kreskowiak23-Jan-07 8:44
mveDave Kreskowiak23-Jan-07 8:44 
GeneralRe: Calculating Object Memmory Usage Pin
MikeMarq24-Jan-07 9:53
MikeMarq24-Jan-07 9:53 
QuestionCan I customize the paper size and print a document directly Pin
indian14323-Jan-07 1:13
indian14323-Jan-07 1:13 
AnswerRe: Can I customize the paper size and print a document directly Pin
Dave Kreskowiak23-Jan-07 2:04
mveDave Kreskowiak23-Jan-07 2:04 
GeneralRe: Can I customize the paper size and print a document directly Pin
indian14323-Jan-07 2:14
indian14323-Jan-07 2:14 
GeneralRe: Can I customize the paper size and print a document directly Pin
Dave Kreskowiak23-Jan-07 5:31
mveDave Kreskowiak23-Jan-07 5:31 
GeneralRe: Can I customize the paper size and print a document directly Pin
indian14329-Jan-07 1:28
indian14329-Jan-07 1:28 
Questionwana buit an email clinet using a third party email server?? Pin
Saira Tanwir22-Jan-07 23:09
Saira Tanwir22-Jan-07 23:09 
AnswerRe: wana buit an email clinet using a third party email server?? Pin
indian14322-Jan-07 23:24
indian14322-Jan-07 23:24 

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.