protected void cmdaddtobasket_Click(object sender, EventArgs e)
        {
            if (IsNullValidation() == true)
            {
                return;
            }
            string _string = "";
            string _type   = (string)Session["type"];

            if (_type == "1")
            {
                _string = drpmanufacture.SelectedItem.Text;
            }
            else if (_type == "2")
            {
                _string = drpmanufacture.SelectedItem.Text;
            }
            else if (_type == "3")
            {
                _string = title.Text;
            }
            else if (_type == "4")
            {
                _string = title.Text;
            }
            else
            {
                _string = drpmanufacture.SelectedItem.Text;
            }
            schedule_basket _objbasket = new schedule_basket();

            _objbasket.Insert((string)Session["serv"], (string)Session["pack"], (string)Session["dtype"], _string, txtdocument.Text, txtfolder.Text, (string)Session["fid"]);
            myschedule_basket.DataBind();
            //Load_myschedule_basket();
        }
        void Clear()
        {
            txtfolder.Text = "";
            //drpmanufacture.Text = "-- Select Manufacturer Name --";
            txtdocument.Text = "";
            schedule_basket _obj = new schedule_basket();

            _obj.clear();
            myschedule_basket.DataBind();
        }
        private void Load_myschedule_basket()
        {
            schedule_basket       _objbasket = new schedule_basket();
            IEnumerable <DataRow> _result    = from _data in _objbasket.GetData().AsEnumerable()
                                               where _data.Field <string>("User_Id") == (string)Session["uid"]
                                               select _data;

            myschedule_basket.DataSource = _result.CopyToDataTable <DataRow>();
            myschedule_basket.DataBind();
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     _ReadCookies();
     if (!IsPostBack)
     {
         Get_details();
         Panel1.Visible = false;
         schedule_basket _obj = new schedule_basket();
         _obj.clear();
         Load_Schedule();
         Get_Schedule();
     }
 }