How to select multiple templates details from gridview


    protected void grvrisk_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if (e.CommandName.Equals("Delete"))
        {
            GridViewRow row = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer);
            string riskId = ((TextBox)row.FindControl("txtRiskClassID")).Text.ToString();
            string occupationId = ((TextBox)row.FindControl("txtRiskClassID")).Text.ToString();
            string occupationDetails = ((TextBox)row.FindControl("txtRiskClassID")).Text.ToString();
            string classNo = ((TextBox)row.FindControl("txtRiskClassID")).Text.ToString();
            string sumInsured = ((TextBox)row.FindControl("txtRiskClassID")).Text.ToString();
        }
    }

Comments

Popular posts from this blog

Encrypt and Decrypt text using alphabet shifting method

Gridview to Datatable and Viewstate

You think Creating Circuler Graph is a difficult task ...........!!!