2
Reply

Silverlight Databinding help

Iam Ajay

Iam Ajay

Apr 19 2013 12:11 AM
913
 
sir i have a small requirement i hope u can help me.i have 2 tables in my DB
Employee and Company
employee tb has  emp id,emp name,company id
company tb has comp id and compname.........compid in emptable is foreignkey
 
iam using WCF ria services ADO.net framework in my project with silverlight.
 
now how do i populate a form from database using domain context which has
 
a text box and a combobox
txtempname and cmbemployeename
 
i want employee name and companyname of employee to be displayed in the textbox and combobox when an employee id is givn in search box
 
 
i need also the xaml code on how the combobox will bind so that the employees company name can be changed in the UI screen....

Answers (2)