コード例 #1
0
    protected void BindTentatiives()
    {
        try
        {
            objBAL = new ClsBAL();
            ObjDataset = (DataSet)objBAL.GetTentativeBooking();
            if (ObjDataset != null)
            {
                if (ObjDataset.Tables.Count > 0)
                {
                    ViewState["TentativeBookings"] = ObjDataset.Tables[0];
                    GvtentativeBooking.DataSource = ObjDataset.Tables[0];
                    GvtentativeBooking.DataBind();
                }
            }
        }
        catch (Exception ex)
        {

            throw ex;
        }
    }