but the Id is getting saved in database.
The table name is Company with two colummns com_id and com_name in Database
created a domaincontext also domain service ...... using RIA Services
//to load the Company
DictionaryDomainContext orgdemo = new DictionaryDomainContext();
LoadOperation
CmbOrg.ItemsSource = dict.Entities;
//the value code which is getting saved to Database
dc.Org_Name = CmbOrg.SelectedValue.ToString();

Pankaj Rawat71 reputationPosted Apr 4, 2013, 10:33 PM EDT
dc.Org_Name=CmbOrg.SelectedItem.Tostring();
Iam Ajay11 reputationPosted Apr 4, 2013, 10:56 PM EDT
Pankaj Rawat71 reputationPosted Apr 5, 2013, 9:01 PM EDT