What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 2902 |  Welcome, Guest!   Register  Login
  Home > Community Home >

Log in error

  Posted on: 2/6/2012 3:03:56 AM | Views: 6

Recommend an Articles | Recommended Articles | Search Resources | Community Home |




When the user logs in, this works fine if the password and userid is correct.
 But, if on of them are wrong I get:
” There is no row at position 0”
Where is the error?

<%@ Page Language="VB" %> <%@ import Namespace="System.Web.Security" %> <%@ import Namespace="System.Data.OleDB" %> <%@ import Namespace="System.Data" %> <%@ import Namespace="System.Data.SqlClient" %> <%@ import Namespace="System.IO" %> <%@ import Namespace="System.Object" %> <script runat="server"> public opp as String Sub Page_Load(obj As Object, e As EventArgs) lblMessage.text = "" end sub Sub Login(obj As Object, e As Eventargs) If Page.IsValid then Dim strConn as string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ ("new_data.mdb") & ";" Dim C ... Go to the complete details ...

Found interesting? Add this to:


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 5:10:44 PM