
- Forum
- Programming Talk
- Microsoft .NET
- plz help its urgent
plz help its urgent
This is a discussion on plz help its urgent within the Microsoft .NET forums, part of the Programming Talk category; hi, i m very happy to be member of this group. i m new in sql server i have got ...
-
01-22-2007, 05:47 AM #1
- Join Date
- Jan 2007
- Answers
- 3
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
-
01-24-2007, 10:55 AM #2
- Join Date
- Oct 2006
- Answers
- 3
Hello
how can we get information about your error with out your written code
Paste your code here.
-
01-25-2007, 10:49 AM #3
- Join Date
- Jan 2007
- Answers
- 3
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/
-
02-02-2007, 07:05 AM #5
- Join Date
- Jan 2007
- Answers
- 3
THANKS very much
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/
-
03-02-2007, 06:27 AM #6
- Join Date
- Mar 2007
- Answers
- 1
answer
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
u just type the following coding to that field.
imports system.data.sqlclient
this is enof ya. ok try it
-
Sponsored Ads
«
vb.net doubt
|
New To .Net
»

Reply With Quote






