[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

barry opliger

1/25/2003 5:27:00 AM

Below is a asp net page. The TableName is a property that is referenced in a
vb.net program to pass the name of
a access table to a sql statement. The problem is that if you put a literal
into the Tablename = "Customer" it will work
fine but what I want to do is reference a asp:textbox so the user can put
the table they want rather than hard coding it.
When this is done as below (tbbname is the id of the textbox) it will not
evaluate to the value of the textbox but is evaluated as a string
"tbbname.text". How do you get it to see the value?

Thanks for any help.

****************************************************************************
********
<%@ register tagprefix = "dGrid" tagname = "details" src="uc.ascx" %>
<html>
<body>
<form runat="server">
<dGrid:details id="dbg" TableName = tbbname.text
runat="server" />
</form>
</body>
</html>