Click here to Skip to main content
15,312,120 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai i got probleam with sql exception unhandled.. i am using visual studio 2005 and sql 2005.it said that invalid username and ic , i also underlined the probleam...please correct my code.

VB
Private Sub Admin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)  Handles MyBase.Load
        Timer1.Start()
        Me.Staff_TombstoneTableAdapter.Fill(Me.LoginDataSet.staff_Tombstone)
        Me.StaffTableAdapter.Fill(Me.LoginDataSet.staff)

End Sub
Posted
Updated 12-Aug-11 11:01am
v2

1 solution

If you put a try/catch block around it, and step through the code with the debugger, you can see exactly why the exception was thrown.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900