Cita:
Iniciado por bimboclaim
Dim strUser As String = System.Web.HttpContext.Current.User.Identity.Name
Protected Sub TextBox1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Load
TextBox1.Text = strUser
End Sub
Podrias ahorrarte la variable simplemente asignandolo
Código ASP:
Ver originalTextBox1.Text=System.Web.HttpContext.Current.User.Identity.Name