Click here to Skip to main content
15,898,571 members
Home / Discussions / C#
   

C#

 
GeneralRe: getting an Image from DataSet Pin
Sasuko3-Jan-06 2:55
Sasuko3-Jan-06 2:55 
GeneralRe: getting an Image from DataSet Pin
S. Akif Kamal3-Jan-06 3:11
S. Akif Kamal3-Jan-06 3:11 
GeneralRe: getting an Image from DataSet Pin
Sasuko3-Jan-06 3:39
Sasuko3-Jan-06 3:39 
GeneralRe: getting an Image from DataSet Pin
S. Akif Kamal3-Jan-06 20:41
S. Akif Kamal3-Jan-06 20:41 
Questionowc10 chart datasource as dataset Pin
Delphig3-Jan-06 0:37
Delphig3-Jan-06 0:37 
QuestionEditable Grid Pin
ProffK3-Jan-06 0:04
ProffK3-Jan-06 0:04 
AnswerRe: Editable Grid Pin
albCode3-Jan-06 0:15
albCode3-Jan-06 0:15 
GeneralRe: Editable Grid Pin
ProffK3-Jan-06 0:30
ProffK3-Jan-06 0:30 
Thanks, that looks like a good read, but it's not what I'm looking for. I actually went through that exercise last year and solved it with a crude loop. This is a WinForms grid, not ASP, and they're quite different animals.

I needed to edit a collection of objects not related to the database, so through my trials I learnt that the collection needed to implement IList at minimum. My collection derived from DictionaryBase, and .NET Data Binding doesn't like that, so I first tried to implement IList but it got messy.

I then derived from CollectionBase, destroying my nice Dictionary based accessors etc. that operated like a Hashtable's accessors, replacing them with Add, Remove, and Item members that only return a Dictionary entry structure, leaving the onus on the client of the collection to extract name or value.

Now I still need to implement IBindingList and IEditableObject before the grid will behave as I want, and I keep thinking what a mission this is for what was supposed to be a one-hour project HTTP editor.

The DJ's took pills to stay awake and play for seven days. - Jim Morrison, Black Polished Chrome.

GeneralRe: Editable Grid Pin
joe carbone3-Jan-06 3:56
joe carbone3-Jan-06 3:56 
QuestionDisabling compiler error? Pin
joachimj2-Jan-06 23:31
joachimj2-Jan-06 23:31 
AnswerRe: Disabling compiler error? Pin
mav.northwind3-Jan-06 0:19
mav.northwind3-Jan-06 0:19 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 1:38
joachimj3-Jan-06 1:38 
AnswerRe: Disabling compiler error? Pin
Colin Angus Mackay3-Jan-06 2:12
Colin Angus Mackay3-Jan-06 2:12 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 2:58
joachimj3-Jan-06 2:58 
GeneralRe: Disabling compiler error? Pin
Colin Angus Mackay3-Jan-06 3:11
Colin Angus Mackay3-Jan-06 3:11 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 3:14
joachimj3-Jan-06 3:14 
GeneralRe: Disabling compiler error? Pin
J4amieC3-Jan-06 4:06
J4amieC3-Jan-06 4:06 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 4:21
joachimj3-Jan-06 4:21 
GeneralRe: Disabling compiler error? Pin
J4amieC3-Jan-06 5:18
J4amieC3-Jan-06 5:18 
Questionculture info Pin
PrakashBhaskar2-Jan-06 23:19
PrakashBhaskar2-Jan-06 23:19 
AnswerRe: culture info Pin
S. Akif Kamal3-Jan-06 1:15
S. Akif Kamal3-Jan-06 1:15 
AnswerRe: culture info Pin
Colin Angus Mackay3-Jan-06 2:15
Colin Angus Mackay3-Jan-06 2:15 
GeneralRe: culture info Pin
PrakashBhaskar3-Jan-06 2:19
PrakashBhaskar3-Jan-06 2:19 
QuestionMy app won't run: "unverifiable assembly" Pin
navvara the infantryman2-Jan-06 22:15
navvara the infantryman2-Jan-06 22:15 
AnswerRe: My app won't run: "unverifiable assembly" Pin
mav.northwind3-Jan-06 0:11
mav.northwind3-Jan-06 0:11 

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.