web 2.0

ASP.NET(vb.net) & LoginName

ASP.NET(vb.net) & LoginName - The LoginName control displays a user’s login name if the user has logged in using ASP.NET membership. Alternatively, if your site uses integrated Windows authentication, the control displays the user’s Windows account name.

ShotDev Focus:
- ASP.NET(vb.net) & LoginName

ASP.NET(vb.net) & LoginName

ASP.NET(vb.net) & LoginName



<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Login.aspx.vb" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>ShotDev.Com Tutorial</title>
<form id="form1" runat="server">
<asp:LoginView ID="LoginView1" runat="server">
Please Login <br />
<asp:Login ID="Login1" runat="Server" DestinationPageUrl="Login.aspx"/>
Welcome [<asp:LoginName ID="LoginName1" runat="server" />] , <asp:LoginStatus ID="LoginStatus1" runat="server" />


Partial Class Login
Inherits System.Web.UI.Page

End Class


ASP.NET(vb.net) & LoginName

Download this script.

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

One Response to “ASP.NET(vb.net) & LoginName”

  1. 1involved…

Leave a Reply

You must be logged in to post a comment.