Exforsys
+ Reply to Thread
Results 1 to 6 of 6

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 ...

  1. #1
    Gurpreet Kaur is offline Junior Member Array
    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


  2. #2
    rameshuddaraju is offline Junior Member Array
    Join Date
    Oct 2006
    Answers
    3
    Hello
    how can we get information about your error with out your written code
    Paste your code here.


  3. #3
    Gurpreet Kaur is offline Junior Member Array
    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

    Quote Originally Posted by rameshuddaraju View Post
    Hello
    how can we get information about your error with out your written code
    Paste your code here.



  4. #4
    techguru is offline Senior Member Array
    Join Date
    Mar 2005
    Answers
    112
    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/


  5. #5
    Gurpreet Kaur is offline Junior Member Array
    Join Date
    Jan 2007
    Answers
    3
    THANKS very much


    Quote Originally Posted by techguru View Post
    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/



  6. #6
    natraj1983 is offline Junior Member Array
    Join Date
    Mar 2007
    Answers
    1

    Post answer

    Quote Originally Posted by Gurpreet Kaur View Post
    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



Latest Article

Network Security Risk Assessment and Measurement

Read More...