Example #1
0
    public DataTable bindRoomRates(DateTime checkindate, string packageid, int totpax)
    {
        try
        {
            blsr.action = "RoomRatesCustAgent";

            blsr._dtStartDate = checkindate;

            blsr.PackageId = packageid;

            blsr.totpax = 0;

            blsr.totpax = totpax;

            dt = dlsr.GetRoomCategoryWiseRates(blsr);

            DataView dv = dt.DefaultView;
            dv.Sort = "PPRoomRate asc";
            DataTable sortedDT = dv.ToTable();
        }
        catch (Exception exp)
        {
        }
        return(dt);
    }