D
Dsquare
CREATE PROCEDURE sp_InsertMaterial
@MatEngName nvarchar(100),@MatJapName nvarchar(500),@Comments
nvarchar(500),@ImagePath nvarchar(100),@ImageStatus
nvarchar(50),@AddedDate datetime
AS
INSERT INTO
MaterialMaster(MaterialEngName,MaterialJapName,Comments,ImagePath,ImageStatus,AddedDate)
VALUES(@MatEngName,@MatJapName,@Comments,@ImagePath,@ImageStatus,@AddedDate)
SELECT @@IDENTITY as 'Identity'
This is my stored procedure to insert records in a particular table,
using Ado.net i want to retrieve this Identity number....
Can any body help..
@MatEngName nvarchar(100),@MatJapName nvarchar(500),@Comments
nvarchar(500),@ImagePath nvarchar(100),@ImageStatus
nvarchar(50),@AddedDate datetime
AS
INSERT INTO
MaterialMaster(MaterialEngName,MaterialJapName,Comments,ImagePath,ImageStatus,AddedDate)
VALUES(@MatEngName,@MatJapName,@Comments,@ImagePath,@ImageStatus,@AddedDate)
SELECT @@IDENTITY as 'Identity'
This is my stored procedure to insert records in a particular table,
using Ado.net i want to retrieve this Identity number....
Can any body help..