Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai friends,
I am a beginer in SQL database.Can any one help me to write Stored Procedure for inserting a text into SQL database from windows application.
Posted
Updated 29-Jan-12 22:03pm
v2

go through the below samples link
Here[^]

Thanks
--RA
 
Share this answer
 
Comments
amesh004 30-Jan-12 4:44am    
Thank you
Rajesh Anuhya 30-Jan-12 4:45am    
Vote/Accept my answer, if it is really helped.
--RA
Windows application...OK but code-behind? VB.NET? C#? Check these

Overview of SQL Server Stored Procedure[^]
Using ADO.NET for beginners[^]
 
Share this answer
 
 
Share this answer
 
Hi,

CREATE PROCEDURE  SPInsert 
(
@Name varchar(50),
@Address varchar(50),
@Place varchar(50)
 
)
	 
AS
BEGIN
	 insert into Interview(Name,Address,Place)values(@Name,@Address,@Place)
	 
END
 
Share this answer
 
Comments
amesh004 30-Jan-12 22:57pm    
thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900