Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
GeneralSingle.Parse(string) problem... Pin
Luc Bergeron16-Jul-03 5:32
Luc Bergeron16-Jul-03 5:32 
GeneralRe: Single.Parse(string) problem... Pin
Luc Bergeron16-Jul-03 5:54
Luc Bergeron16-Jul-03 5:54 
QuestionC# library for file system info? Pin
KingTermite16-Jul-03 5:24
KingTermite16-Jul-03 5:24 
GeneralDynamic Array Pin
Hoang Dung16-Jul-03 4:46
Hoang Dung16-Jul-03 4:46 
GeneralRe: Dynamic Array Pin
Frank Olorin Rizzi16-Jul-03 4:54
Frank Olorin Rizzi16-Jul-03 4:54 
GeneralRe: Dynamic Array Pin
Meysam Mahfouzi16-Jul-03 6:26
Meysam Mahfouzi16-Jul-03 6:26 
GeneralThanks Pin
Hoang Dung17-Jul-03 7:22
Hoang Dung17-Jul-03 7:22 
Generalexamples UI datagrid/collection Pin
haezeban16-Jul-03 4:15
haezeban16-Jul-03 4:15 
hey,

I'am looking for some codeexamples for following senario :

My UI is a grid of a collection (but I never use it to add/update or delete records). Under that grid I have a panel with all the information of the selected item (in textboxes, comboboxes,.. - even more information then in the grid).
In this panel there are also 3-buttons (Update,delete and add). So, when I push Update, all the changes made in the panel are refected in my collection and I will redraw the grid. The same for Add and delete buttons.

To fill up the grid I use now:
foreach(Object obj in theCollection)
{ grid.Items.Add(obj.Name);
...
}


Maybe there is a way to bind the collection to the grid and also to bind (???) the data in the panel.
How can I add, update and delete via the buttons through the grid?
I know there are a lot of interfaces Ibindable,Itypedlist,IEditableobject,...
But this is all so confusing that I don't know who to use it all in my senario.

Thanks for any possible help.

GeneralCopy, Paste and Find Pin
totig16-Jul-03 3:00
totig16-Jul-03 3:00 
GeneralWhat's the question Pin
ResCode15-Jul-03 16:26
ResCode15-Jul-03 16:26 
GeneralRe: What's the question Pin
ResCode16-Jul-03 18:18
ResCode16-Jul-03 18:18 
Generalmisterbear Pin
misterbear15-Jul-03 13:07
misterbear15-Jul-03 13:07 
GeneralRe: misterbear Pin
J. Dunlap15-Jul-03 13:57
J. Dunlap15-Jul-03 13:57 
GeneralC# CDO email Encoding HELP please Pin
Member 7681715-Jul-03 12:36
Member 7681715-Jul-03 12:36 
GeneralRe: C# CDO email Encoding HELP please Pin
Radoslav Bielik15-Jul-03 13:19
Radoslav Bielik15-Jul-03 13:19 
GeneralRe: C# CDO email Encoding HELP please Pin
Member 7681715-Jul-03 13:24
Member 7681715-Jul-03 13:24 
GeneralRe: C# CDO email Encoding HELP please Pin
Radoslav Bielik16-Jul-03 11:33
Radoslav Bielik16-Jul-03 11:33 
QuestionHow to execute an application from C# Pin
Darryl Borden15-Jul-03 10:23
Darryl Borden15-Jul-03 10:23 
AnswerRe: How to execute an application from C# Pin
David Stone15-Jul-03 10:41
sitebuilderDavid Stone15-Jul-03 10:41 
GeneralRe: How to execute an application from C# Pin
Stephane Rodriguez.16-Jul-03 2:20
Stephane Rodriguez.16-Jul-03 2:20 
GeneralRe: How to execute an application from C# Pin
David Stone16-Jul-03 7:08
sitebuilderDavid Stone16-Jul-03 7:08 
GeneralRe: How to execute an application from C# Pin
Stephane Rodriguez.16-Jul-03 8:04
Stephane Rodriguez.16-Jul-03 8:04 
GeneralRe: How to execute an application from C# Pin
David Stone16-Jul-03 11:14
sitebuilderDavid Stone16-Jul-03 11:14 
GeneralRe: How to execute an application from C# Pin
Stephane Rodriguez.16-Jul-03 19:15
Stephane Rodriguez.16-Jul-03 19:15 
GeneralRe: How to execute an application from C# Pin
David Stone17-Jul-03 5:41
sitebuilderDavid Stone17-Jul-03 5:41 

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.