Thursday, February 16, 2012

Get the values from devexpress Gridview in asp.net

protected void grvUserDetails_RowCommand(object sender, ASPxGridViewRowCommandEventArg
s e)
    {
        if (e.CommandArgs.CommandName == "Remove")
        {
            int noOfSelectedRequests =
grvUserDetails.FocusedRowIndex;
            int id = Convert.ToInt32(e.CommandArgs.
CommandArgument.ToString());
            var varSitename =
grvUserDetails.GetRowValues(e.VisibleIndex, "FirstName");
            var objValres =
grvUserDetailsGetRowValues(e.VisibleIndex, "AreaId");
            var objVal1 =
grvUserDetails.GetRowValues(e.VisibleIndex, "Id");
          

        }
    }

No comments:

Post a Comment

Comments

Search

Custom Search
Protected by Copyscape Plagiarism Software