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