Friday, August 4, 2023

Gridview Certificate Upload

 protected void Button2_Click(object sender, EventArgs e)

    {

        //certificate 

         GridViewRow r1 = ((Button)sender).NamingContainer as GridViewRow;

        Label lname=(Label)r1.FindControl("Label1");

        Response.Redirect("~/upload/" + lname.Text);

    }

No comments:

Post a Comment

JAVA SCRIPT GET ELEMENT BY ID CONCEPT

  JavaScript getElementById() with HTML Control – Simple Example with Result What is getElementById() ? getElementById() is a JavaScript...