Posted on: 9/11/2012 1:38:49 AM | Views : 229

I have just spent the last 6 hours searching google and trying all variations of the code examples but i either dont get it or im doing something wrong. please help, I give up.
I have a masterpage called site.master, small table at the top with a home link, hyperlink to a login page (login.aspx) the time and date.
It's a very simple login, not using the asp.net sql.  Users type in a number using a keypad i made out of 10 buttons, a text box and a bit of vb code.  thats all good and works.  the login button runs a vb script to do an SQL select command on the login ID's table see below.
Protected Sub But_Login_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles But_Login.Click Dim Login_Table As Data.DataView = SqlData_logon.Select(DataSourceSelectArguments.Empty) If Login_Box.Text = Login_Table.ToTable.Rows(0)("logon_ID") Then lb_logged_name.text = Login_Table.ToTable.Rows(0 ...

Go to the complete details ...