[ref][ref] >> >>'aspx vb code that incorporates the usercontrol >>Public Class ValidateLogin >> Inherits System.Web.UI.Page >> >>#Region " Web Form Designer Generated Code " >> >> 'This call is required by the Web Form Designer. >> Private[/ref] >Sub[ref] >>InitializeComponent() >> >> End Sub >> Protected WithEvents btnOK As >>System.Web.UI.WebControls.Button >> Protected WithEvents btnClear As >>System.Web.UI.WebControls.Button >> >> 'NOTE: The following placeholder declaration is >>required by the Web Form Designer. >> 'Do not delete or move it. >> Private designerPlaceholderDeclaration As[/ref] >System.Object[ref] >> >> Private Sub Page_Init(ByVal sender As[/ref][/ref] System.Object,[ref][ref] >>ByVal e As System.EventArgs) Handles MyBase.Init >> 'CODEGEN: This method call is required by the[/ref][/ref] Web[ref][ref] >>Form Designer >> 'Do not modify it using the code editor. >> InitializeComponent() >> End Sub >> >>#End Region >> >> Private strUserName As String >> Private exException As Exception() >> Protected ValidateLogin As >>YTCIWebUserControls.UserLogin >> >> Private Sub btnClear_Click(ByVal sender As >>System.Object, ByVal e As System.EventArgs) Handles >>btnClear.Click >> ValidateLogin.UserID = String.Empty >> ValidateLogin.Password = String.Empty >> End Sub >> >> Private Sub btnOK_Click(ByVal sender As[/ref] >System.Object,[ref] >>ByVal e As System.EventArgs) Handles btnOK.Click >> >> Dim strDataSource As String >> strDataSource = CType(Application >>("strDataSource"), String) >> >> Dim clsBLL As New NCVACBLL.Scheduling >>(strDataSource) >> Dim drOLEDBNCVAC As OleDbDataReader >> >> Try >> Cursor.Current = >>System.Windows.Forms.Cursors.WaitCursor >> drOLEDBNCVAC = clsBLL.GetUserInfo >>(ValidateLogin.UserID, ValidateLogin.Password) >>.. >>.. >>.. >>I'm really pulling my hair out over this one! I've[/ref][/ref] tried[ref][ref] >>so many different things to get this to work.... Can >>someone please HELP!! >> >>Thanks so much, >> >>Bill..... >>. >>[/ref] >. >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <054001c36b71$8d211d60$a601280a@phx.gbl> [ref] => <041d01c36b5c$3ffd6440$a601280a@phx.gbl> <047501c36b62$217dde90$a601280a@phx.gbl> [htmlstate] => on_nl2br [postusername] => bill [ip] => wsyeager36@msn. [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [attachments] => [allattachments] => ) -->