Site icon Dotnet Helpers

MVC

1009, 2012

Nullable Types

By |Tags: |0 Comments

Nullable Types Nullable types are variables that can be assigned with the value ‘null’. Allmost all value types can be declared as a nullable type. To declare a value type as a nullable type, you

1009, 2012

Finding the lable value after clicking the linkbutton inside the gridview

By |Tags: |0 Comments

Finding the lable/any control value after clicking the linkbutton inside the gridview Code Behind File :   protected void btnClick_Click(object sender, EventArgs e) { GridViewRow clickedRow = ((LinkButton)sender).NamingContainer as GridViewRow; Label lblID = (Label)clickedRow.FindControl("lblEmpID"); Session["patientEMRID"]

Exit mobile version