Sophia_Texas
New Member
I am a little confused about how to handle this. I am used to doing the following:<BR><BR><a href=http://aspmessageboard.com/archive/index.php/"whatever.aspx?id=<%= id %>">link</a><BR><BR>From what I have read, this is bad practice. It seems like a burden to have to create asp labels for every place I want to use the id variable. Am I wrong to think this?<BR><BR>I guess what I am getting at is this - what is the best way to embed asp.net variables into html or into javascript functions?<BR><BR>Thanks for any help.