Exemplo n.º 1
0
 protected void btnAddIntr_Click(object sender, EventArgs e)
 {
     if (Page.IsValid)
     {
         SqlDataSource5.Insert();
         txtIntrClub.Text = "";
     }
 }
Exemplo 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();
 }
Exemplo n.º 3
0
 protected void Button2_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
     Response.Redirect("ajaxVote.aspx");
 }
Exemplo n.º 4
0
 protected void RadButton1_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
 }
Exemplo n.º 5
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
     Response.Redirect("~/Dodaj/Dodaj_pojazd.aspx");
 }
Exemplo n.º 6
0
 protected void Button2_Click(object sender, EventArgs e)
 {
     SqlDataSource5.Insert();
     DataList2.DataBind();
 }