Not covered on the first page, but does anyone here have any experience with ASP.NET? I am working with it in college. Basically, I want to populate a textbox with the result of a query, so I can hide the textbox and use it to set a value on a JavaScript variable.
The connection is set-up and the query runs fine. So yeah basically:
var range is set to 10, however I want it's value to be set by the query, specifically the field s_level. Anyone know how to do this or alternatively another way of doing it?
Code here.
Ignore how shitty it's formated, I don't really care at the moment.
Last edited by Fee; May 12, 2011 at 01:17 PM.