Posted on: 11/3/2014 12:54:17 AM | Views : 466

Hi all
i would like to load a table and get the data in the table and pass it to C# page.
i am using the sqldatasource to bind the gridview:
here is my coding:
Protected Sub InitGridView() If Not AwMaster.EngineerItems Is Nothing Then ds1.AddRange(AwMaster.EngineerItems) End If 'BindApprovingProcessItems(Me.OperatorGridView, ds1)
this is C# coding:
public virtual IList<AwApprovingProcessItem> EngineerItems { get { engineerItems = engineerItems ?? new List<AwApprovingProcessItem>(); return engineerItems; } set { engineerItems = value; } } how to pass the data in the table to engineerItems?
 

Go to the complete details ...