Experts Exchange connects you with the people and services you need so you can get back to work.
This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.
using (EmployeeDataContext empCtx = new EmployeeDataContext(GlobalMethods.SqlConnectionString))
var rsEmp = from emp in empCtx.Employees
join payp in empCtx.PayPeriods on emp.PayperiodID equals payp.PayPeriodID
join rst in empCtx.Rosters on emp.RosterID equals rst.RosterID
join dep in empCtx.Departments on emp.DepartmentID equals dep.DepartmentID
join div in empCtx.Divisions on emp.DivisionID equals div.DivisionID
join cst in empCtx.CostCentres on emp.CostCentreID equals cst.CostCentreID
join grp in empCtx.Groups on emp.GroupID equals grp.GroupID
where emp.OrganizationID == UserClass.OrganizationID
DataTable myTable = (DataTable)rsEmp;
DataView filteredData = new DataView(myTable);
DataTable myTable = rsEmp.CopyToDataTable();
dataGridView1.DataSource = myTable ;
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.