This is a migrated thread and some comments may be shown as answers.

Dataform + ICollectionView Synchronisation

0 Answers 36 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Shaimaa
Top achievements
Rank 1
Shaimaa asked on 19 Feb 2012, 10:13 PM
Hi,
I have tried the example, ICollectionView Synchronisation whereby u have a grid and a dataform.

Now i want to save a new record, and edit a new record and want my changes to be saved to sql server database and also reflect the changes in the datagrid that is if i add a new record i should see it.
Can anyone please guide me on how to do this ?

Also i wanted to know, if i have a class , say employee, and all the content on my dataform , labels and textboxes have been generated based on the properties of this class, then how do i do if i want to get the valye from a particular textbox at runtime ? since it is generated, will there be an id or name associated with it ?

I hope to get some help very soon.
Regards,
Shaimaa

No answers yet. Maybe you can help?

Tags
DataForm
Asked by
Shaimaa
Top achievements
Rank 1
Share this question
or