Dear All,
I just started designing my application using Visual Studio 2008 + SQLServer 2008 with Enterprise Library 4.1.
I have a WebForm on which I have a LOGIN control (Note: using my own provider) and on Log in button I am triggering this code.
using System;
using System.Collections;
using System.Data.Common;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using System.Data;
using System.Globalization;
using System.Web.Security;
public partial class Login : System.Web.UI.Page
{
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
string userName = Login1.UserName;
str ...
Go to the complete details ...