Returning records in List<T> format in asp.net
===

My asp.net code calls a DataAccessLayer class (SubscriberDAL.cs) that does that database query & returns records. I am calling that class from my Search.aspx.cs page. The SubscriberDAL.cs method returns records in List<T> format. How can I capture those records from my Search.aspx.cs page?    

So in the code sample below, **PremsubList** returns a list array. How can I view those in Search.aspx.cs ?  


My code is:  

**Search.aspx.cs:**
	

    PremCustomerMgr.GetSubscriberList(sub);  

**SubscriberDAL.cs**

    public static List<PremSubscriber.Subscriber> GetSubscriberList(PremSubscriber.Subscriber QueryData)
    {
        try
        {
            List<PremSubscriber.Subscriber> PremsubList = new List<PremSubscriber.Subscriber>();

            PremCustomerDAL.SearchSubscriberData(PremsubList, QueryData);
            return PremsubList;
        }
        catch (Exception ex)
        {
            GCException gcEx = new GCException("Exception - PremCustomerMgr.GetSubscriberList", ex);
            throw psEx;
        }
    }


