title: How to pass multiple arguments in CommandArgument in GridView?
body: <p>I was working on asp.net GridView control. Now I need to edit some row data. For that I was using this code:</p>
  
  <pre><code> &lt;asp:LinkButton ID="btnEdit" Text="Edit" runat="server" CommandName="QuickEdit"  OnClick="btnEdit_Click"
    CommandArgument ='&lt;%# ((CheckBox)(((GridViewRow) Container).Cells[4].Controls[0])).Checked %&gt;'/&gt;
  </code></pre>
  
  <p>And the <code>btnEdit_Click</code> method is:</p>
  
  <pre><code>protected void btnEdit_Click(object sender,EventArgs  e)
  {
      LinkButton btn = (LinkButton)sender;
      switch (btn.CommandName)
      {
          case "QuickEdit":
  
          EditPanel.Visible = true;
          GridPanel.Visible = false;
          CheckBox cbRequiresState = (CheckBox)EditPanel.FindControl("checkRequiresState");
  
          if (btn.CommandArgument =="True")
          {
              cbRequiresState.Checked = true;
          }
          else
          {
              cbRequiresState.Checked = false;
          }
  
          break;
      }
  }
  </code></pre>
  
  <p>Now, I need to pass more than one argument as <code>CommandArgument</code> to that <code>btnEdit_Click</code> method. For that what I need to do?
  And please suggest me a good way to utilize those arguments in that method.</p>