
01-31-2007, 07:22 AM
|
 |
Web Junkie
Retired Moderator * Expert *
|
|
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
|
|
1. MsgBox doesn't work in ASP.NET. (The code runs on the server. I'm pretty sure you don't want to click a button on the server each time a user runs the code...)
2. Use FindControl() to get controls.
Code:
Label1.Text = DirectCast(Me.FindControl("TextBox1"), TextBox).Text
|
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
|