protected void Button1_Click(object sender, EventArgs e)
        {
            supply = new Supply1();
            supply.Open();

            SqlDataReader dr = supply.SearchSupply(TextBox1.Text);
            GridView1.DataSource = dr;
            GridView1.DataBind();
            supply.Close();
        }
Example #2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            supply = new Supply1();
            supply.Open();

            SqlDataReader dr = supply.SearchSupply(TextBox1.Text);

            GridView1.DataSource = dr;
            GridView1.DataBind();
            supply.Close();
        }
Example #3
0
        protected void ImageButton17_Click(object sender, ImageClickEventArgs e)
        {
            supply = new Supply1();
            supply.Open();

            SqlDataReader dr = supply.GetSupply();

            GridView1.DataSource = dr;
            GridView1.DataBind();
            supply.Close();
        }
        protected void ImageButton17_Click(object sender, ImageClickEventArgs e)
        {
            supply = new Supply1();
            supply.Open();

            SqlDataReader dr = supply.GetSupply();

            GridView1.DataSource = dr;
            GridView1.DataBind();
            supply.Close();
        }
        protected void ImageButton16_Click(object sender, ImageClickEventArgs e)
        {
            supply = new Supply1();
            supply.Open();

            supply.EditSupply(Name.Text, int.Parse(sid.Text));

            SqlDataReader dr = supply.GetSupply();
            GridView1.DataSource = dr;
            GridView1.DataBind();
            supply.Close();
        }
Example #6
0
        protected void ImageButton16_Click(object sender, ImageClickEventArgs e)
        {
            supply = new Supply1();
            supply.Open();

            supply.EditSupply(Name.Text, int.Parse(sid.Text));

            SqlDataReader dr = supply.GetSupply();

            GridView1.DataSource = dr;
            GridView1.DataBind();
            supply.Close();
        }
Example #7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     supply = new Supply1();
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     supply = new Supply1();
 }