This is a discussion on plz help its urgent within the Microsoft .NET Tutorials and Articles forums, part of the Articles and Tutorials category; hi, i m very happy to be member of this group. i m new in sql server i have got ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
plz help its urgent
hi,
i m very happy to be member of this group. i m new in sql server i have got error.Plz tell me what is the problem. front-end(vb.net) and back-end(sql server). An unhandled exception of type "System.data.sqlclient.sqlexception" occured in system.data.dll Additional Information: system errror Plzzzzzzzzzzzzzzzzzzzzz help me |
|
|||
|
hello
I m using sql server.my coding is
Imports System.Data.sqlclient Public Class code Inherits System.Windows.Forms.Form Dim CON As New SqlConnection Dim CMD As New SqlCommand Dim ADP As New SqlDataAdapter Dim CB As New SqlCommandBuilder Dim DS As New DataSet Dim DR As DataRow Dim P(1) As DataColumn Private Sub code_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load CON.ConnectionString = "USER ID=SA; DATA SOURCE=server name;INITIAL CATALOG=FIRST" CMD.Connection = CON ADP.SelectCommand = CMD CMD.CommandText = "SELECT * FROM EMP" ADP.Fill(DS, "EMP") P(0) = DS.Tables("EMP").Columns("CODE") DS.Tables("EMP").PrimaryKey = P MsgBox("CONNECTED TO DATABASE") End sub |
|
|||
|
here is step by step tutorials on data binding ..
http://www.exforsys.com/content/view/1547/350/ read more vb.net 2005 tutorials http://www.exforsys.com/content/category/17/266/350/ |
|
|||
|
THANKS very much
Quote:
|
|
|||
|
Quote:
u just type the following coding to that field. imports system.data.sqlclient this is enof ya. ok try it |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| plz help ...its urgent | luvureet | Interview Questions | 1 | 06-15-2005 08:42 AM |
| Urgent Requirement for Java/.NET Architects/Business Analysts/Telecom profession | kalareddy | Experienced Job Seekers - India | 0 | 05-23-2005 06:41 PM |
| Urgent opening for Jr Developers for a leading IT company. | techguru | Freshers Jobs | 0 | 05-23-2005 06:57 AM |
| Urgent Opening for the Lorus Notes Fresher - Mumbai | techguru | Freshers Jobs | 0 | 05-06-2005 11:17 AM |
| Urgent Opening for the Lorus Notes Fresher - Mumbai | admin | Freshers Jobs | 0 | 05-04-2005 09:50 AM |