|
-
Aug 13th, 2003, 04:30 AM
#1
Thread Starter
New Member
Request for a sample
I have a very simple task, that drives me completely insane, i just don't get it:
I want a DataGrid, with an attached _STATIC_ datasource, a list, not DB-table.
The sample just needs 1 column, say a number.
And I want a button, that adds a new number to the list, and displays it, without usings hacks like
gird.datasource = nothing
grid.datasource = _STATIC_SOURCE_
I'm pretty sure this is simple, but I don't get it.
(Chose the right username).
I am grateful for _ANY_ ideas.
-
Aug 13th, 2003, 06:36 AM
#2
Sleep mode
-
Aug 13th, 2003, 07:14 AM
#3
Thread Starter
New Member
Sorry to say, that does not help me.
I read data from a socket. NO DATABASE.
I want to update to Grid AFTER i assigned to datasource.
Something like this:
mySource = <INSTACE_OF_A_CLASS_THAT_IMPLEMENTS_IBindingList_OR_WHATEVER_I_NEED>
mySource.Add(new Entry())
mySource.Add(new Entry())
myDataGrid.datasource = mySource
'The Grid shows 2 Entries
mySource.Add(new Entry())
mySource.Add(new Entry())
'The Grid shows 2 Entries -> How do I force the Grid to update it's source ???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|