المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to Get Data From Data Set



C# Programming
03-10-2011, 07:15 PM
Hello Everybody,

I have two tables Emp and Dept in DataSet. In which have followind fields.
Emp Dept
---- --------
Emp_No Emp_No
Emp_Name Dept_No
Emp_Sal Dep_Name

Now i want the result in datagridview from both dataset. Result will be look like this.....

Result_In_dataGridview
-----------------------
Emp_no Emp_Name Emp_Sal Dept_no Dept_NameSo please describe me how can i do that by using Code.



Thanks
If you can think then I Can.