p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 (http://p2p.wrox.com/forumdisplay.php?f=228)
-   -   Cannot implicitly convert type 'Login' to 'System.Web.UI.WebControls.Login' (http://p2p.wrox.com/showthread.php?t=72373)

fh84 January 22nd, 2009 07:13 PM

Cannot implicitly convert type 'Login' to 'System.Web.UI.WebControls.Login'
 
i have got this error on this part of code :

if (e.CurrentStepIndex == 0)
{
System.Web.UI.WebControls.Login l = (Login)Wizard1.FindControl("Login1");

if (Membership.ValidateUser(l.UserName, l.Password))
{
FormsAuthentication.SetAuthCookie(l.UserName, l.RememberMeSet);
e.Cancel = false;
}

Any Ideas?

fh84 January 23rd, 2009 11:17 AM

found the solution
have a look here :
http://forums.asp.net/p/1374684/2887355.aspx#2887355


All times are GMT -4. The time now is 03:28 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.