Click here to Skip to main content
15,890,717 members
Home / Discussions / C#
   

C#

 
GeneralWhoops, it worked! thanks Pin
benglish724-Jul-04 14:27
benglish724-Jul-04 14:27 
GeneralRe: Whoops, it worked! thanks Pin
Christian Graus4-Jul-04 15:04
protectorChristian Graus4-Jul-04 15:04 
GeneralWord 2003 & C# Pin
thesundancekid4-Jul-04 8:10
thesundancekid4-Jul-04 8:10 
GeneralRe: Word 2003 & C# Pin
Heath Stewart5-Jul-04 5:51
protectorHeath Stewart5-Jul-04 5:51 
Generalnoob - using WinConsole - need to compile Pin
insurgentpyro4-Jul-04 6:19
insurgentpyro4-Jul-04 6:19 
GeneralRe: noob - using WinConsole - need to compile Pin
Mike Dimmick4-Jul-04 12:06
Mike Dimmick4-Jul-04 12:06 
GeneralRe: noob - using WinConsole - need to compile Pin
insurgentpyro4-Jul-04 16:40
insurgentpyro4-Jul-04 16:40 
GeneralDateViews-style data binding vs. ValueModel data binding Pin
zet4-Jul-04 1:01
zet4-Jul-04 1:01 
Hi,

im just start designing a new WinForms app, and i'm not sure if the .NET built-in data binding via DataView etc. is the right tool for the job.

The application will read and write its data from/to an XML file (multiple versions must be supported, at least for reading).

The XML structure is not very "relational", it is more a document (in the sense of a Word document) than a database (tablular data).

I'm coming from the Java world, and used a ValueModel style data binding with great success. More details about the ValueModel data binding style can be found at http://c2.com/ppr/vmodels.html and http://c2.com/cgi/wiki?ModelViewControllerHistory.

With a ValueModel data binding, i would read the XML File in an object, put that in a ValueHolder, and would wire all widgets with AspectAdapters, SelectionInList, ...
This would provide me with a bi-directional binding, and usinge the BufferedValueHolder i would even get a buffering for free.

My question to the WinForms gurus:

  • is the DataView data binding flexible enough, even if my data is more a document than a table?
  • can i bind a text field bi-directional to a property of an arbitrary object?
  • does the DataView data binding work when the widgets are on different forms?
  • what's hard with DataView data binding, what style of binding requirements should be avoided?


Bye,

Jürgen
GeneralRe: DateViews-style data binding vs. ValueModel data binding Pin
Heath Stewart5-Jul-04 6:00
protectorHeath Stewart5-Jul-04 6:00 
GeneralC# grid control - headers Pin
Andy H4-Jul-04 0:06
Andy H4-Jul-04 0:06 
GeneralRe: C# grid control - headers Pin
Heath Stewart5-Jul-04 6:04
protectorHeath Stewart5-Jul-04 6:04 
GeneralD3DXSaveSurfaceToFile() is nowhere to be found. Pin
3-Jul-04 18:36
suss3-Jul-04 18:36 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
leppie3-Jul-04 20:20
leppie3-Jul-04 20:20 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
Heath Stewart5-Jul-04 6:09
protectorHeath Stewart5-Jul-04 6:09 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
Nick Z.5-Jul-04 8:50
Nick Z.5-Jul-04 8:50 
GeneralJIT Debugging Pin
allegator3-Jul-04 18:14
allegator3-Jul-04 18:14 
GeneralRe: JIT Debugging Pin
Heath Stewart5-Jul-04 6:15
protectorHeath Stewart5-Jul-04 6:15 
Questionwhy i can't run a c# app on win 2k without .net framework installed? Pin
jl_araya3-Jul-04 12:32
jl_araya3-Jul-04 12:32 
AnswerRe: why i can't run a c# app on win 2k without .net framework installed? Pin
Stefan Troschuetz3-Jul-04 13:00
Stefan Troschuetz3-Jul-04 13:00 
AnswerRe: why i can't run a c# app on win 2k without .net framework installed? Pin
Tom Larsen3-Jul-04 19:59
Tom Larsen3-Jul-04 19:59 
Generalthanx! Pin
jl_araya4-Jul-04 12:51
jl_araya4-Jul-04 12:51 
Generalnoob question about classes Pin
pidhead3-Jul-04 9:20
pidhead3-Jul-04 9:20 
GeneralRe: noob question about classes Pin
Colin Angus Mackay3-Jul-04 12:18
Colin Angus Mackay3-Jul-04 12:18 
GeneralRe: noob question about classes Pin
pidhead3-Jul-04 12:58
pidhead3-Jul-04 12:58 
GeneralRe: noob question about classes Pin
Colin Angus Mackay3-Jul-04 15:38
Colin Angus Mackay3-Jul-04 15:38 

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.