RedXavier2k4
asked on
I have to create a GridView from a List<>
I have to create a GridView from a List that hold data from an SQL Server table. The. A web service is being using by I think LINQ, and is added to a List<>. This is the code I have so far in the EmployeeManager. How can I populate my GridView with this List<> data. The page load is from EmployeeManager.aspx.cs and my GridView is in EmployeeManager.aspx
I need help like yesterday, thanks
EmployeesAdmin.cs
EmployeeManager.aspx.cs
I need help like yesterday, thanks
EmployeesAdmin.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Psc.Employees.EAdmin
{
public class EmployeesAdmin
{
private Admin.iAdmin _ws;
public List<Admin.vwEmployees> GetEmployees(out string x, int i, bool blDisabled)
{
return _ws.GetEmployees(out x, i, blDisabled);
}
}
}
EmployeeManager.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
//Create Data Source from List
}
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.