Author: funluckykitty | Posted on: 11/10/2008 8:55:24 AM | Views : 303

I have a datareader that I want to pass a hidden variable into the sql statement, but I'm not sure how to use the hiddenfield value.  Here's a portion of my code behind...  what am I forgetting? 
comm = New SqlCommand("SELECT lastname, firstname from tMatters where  MatterID = @hdnMatterID;", conn)
comm.Parameters.AddWithValue("hdnMatterID)
...

Go to the complete details ...