Esempio n. 1
0
 protected void btnAddIntr_Click(object sender, EventArgs e)
 {
     if (Page.IsValid)
     {
         SqlDataSource5.Insert();
         txtIntrClub.Text = "";
     }
 }
Esempio n. 2
0
 protected void LinkButton5_Click(object sender, EventArgs e)
 {
     SqlDataSource5.InsertParameters["aadhar"].DefaultValue    = ((TextBox)GridView5.FooterRow.FindControl("txtaadhar")).Text;
     SqlDataSource5.InsertParameters["spname"].DefaultValue    = ((TextBox)GridView5.FooterRow.FindControl("txtspname")).Text;
     SqlDataSource5.InsertParameters["contact"].DefaultValue   = ((TextBox)GridView5.FooterRow.FindControl("txtcontact")).Text;
     SqlDataSource5.InsertParameters["societyid"].DefaultValue = ((DropDownList)GridView5.FooterRow.FindControl("ddlsocietyid")).SelectedValue;
     SqlDataSource5.InsertParameters["type"].DefaultValue      = ((DropDownList)GridView5.FooterRow.FindControl("ddltype")).SelectedValue;
     SqlDataSource5.InsertParameters["rating"].DefaultValue    = ((TextBox)GridView5.FooterRow.FindControl("txtrating")).Text;
     SqlDataSource5.Insert();
 }
Esempio n. 3
0
 protected void Button2_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
     Response.Redirect("ajaxVote.aspx");
 }
Esempio n. 4
0
 protected void RadButton1_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
 }
Esempio n. 5
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
     Response.Redirect("~/Dodaj/Dodaj_pojazd.aspx");
 }
Esempio n. 6
0
 protected void Button2_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
     DataList2.DataBind();
 }