Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K
~3K People Reached
Favorite Forums

6 Posted Topics

Member Avatar for shuhana84

Hi, I got this problem in my program when trying to execute stor procedure and xml file.. below is my code and script : Please help. code: Public Overloads Function ExecuteNonQuery(ByVal connection As IDbConnection, ByVal commandType As CommandType, ByVal commandText As String, ByVal ParamArray commandParameters() As IDbDataParameter) As Integer Try …

0
76
Member Avatar for shuhana84

HI,anyone know how to check every single record that we have been inserted in sql server?either exist or not..please help.

Member Avatar for Pgmer
0
172
Member Avatar for bimaljr
Member Avatar for shuhana84

Function selectDB17() Dim cn As New SqlConnection Dim cmd As New SqlCommand cn.ConnectionString = ("server=EKS-HQ;database=BGB;user id=administrator;password=admineks2005") cn.Open() cmd.Connection = cn cmd.CommandText = "SELECT KODSTATE,USERID,PASSWORD,KUMPULAN FROM USERID" Dim lrd As SqlDataReader = cmd.ExecuteReader() Try Do While lrd.Read() If lrd.HasRows Then a = lrd("KODSTATE") b = lrd("USERID") c = lrd("PASSWORD") d = …

Member Avatar for pritesh2010
0
286
Member Avatar for Member #545322

[QUOTE=pritesh2010;1253711]use the System.Transaction class with your connection. for commit the transaction and rollback transaction. [CODE] Dim trans As SqlTransaction trans = con.BeginTransaction Try cmd = New SqlCommand("insert query", con, trans) ''con is a connection cmd.ExecuteNonQuery trans.Commit() MsgBox(" Number of Records inserted : " & count) Catch ex As Exception trans.Rollback() …

Member Avatar for shuhana84
0
270
Member Avatar for shuhana84

hi,i want to know how to export sql server 2005 database to access through vb.net coding..no need to select n insert table one by one,just save package...

Member Avatar for shuhana84
0
957

The End.