Cookies in a FormView/DataGrid

M

MRW

Hello!

I'm trying to make a FormView (using VB.NET) so when a person adds a
new record, one of the fields is automatically filled in with a cookie
value. Right now the code is:

<asp:TextBox ID="EmployeeIDTextBox" runat="server" ReadOnly="True"
Text='<% =Response.Cookies("EmployeeID").Value %>'></asp:TextBox><br />

So, inside the form, instead of the cookie value being displayed, "<%
=Response.Cookies("EmployeeID").Value %>" is being displayed.

Is there a way to stick a cookie value inside a FormView or DataGrid?

Thanks for any help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top