Author: funluckykitty | Posted on: 6/15/2009 7:27:57 AM | Views : 437

This is my first time getting into the codebehind of how a gridview works and using Template Fields.  I have a button, in my vb.net gridview, that when selected, passes in the selected value and runs some code.  I have that part working, but need to figure out how to pass in two values (both MatterID, and PendingClientID instead of just MatterID.  Here's what I've tried..What am I forgetting to do? I thought I just needed to tell the code behind to look at Value and Value[1]

 &lt;asp:GridView ID="gvSubmittedMatters" runat="server" DataSourceID="dsStatus" DataKeyNames="MatterID,PendingClientID" &gt; <Columns><asp:TemplateField ShowHeader= Go to the complete details ...