Hi!!,
I have SP as follows
************SP****************
CREATE proc dbo.Test
(
@Emp as varchar(8000)
)
as
Select EmpId,Emp from tblEmp
Where
Emp in ( Select * from SplitString(@Emp,':::'))
************SP****************
I can execute above SP as follows from...
Hi!,
I am trying to read txt file from .Net app using following code.
*****code****
Dim myReader As New System.IO.StreamReader(FileName, System.Text.Encoding.Default)
While myReader.Peek <> -1
mystring = myReader.ReadLine
End While
*****code****
This txt file is created by some 3rd party...
I am using adapter.update method to insert a datatable. One of the field in database table to which datatable ois referring is UNIQUE key.
here is complete error message :
Error : Violation of UNIQUE KEY constraint 'IX_tblJunk'. Cannot insert duplicate key in object 'tblJunk'.
The statement has...
Hi ,
I am trying to use use dataadapter.update with in trascantion. But it is failing with following exception. "System.InvalidOperationException: Execute requires the command to have a transaction object when the connection assigned to the command is in a pending local transaction. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.