Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My Procedure is
SQL
[dbo].[usp_stdselect]
@RegNo int,@Name nchar(10),@Address nvarchar(50),@Status nchar(10)
as
begin
select RegNo,Name,Address,Status from dbo.std
eend


In this Procedure using C# How to Bind value, tell the C# Code to display the stored data
Posted
Comments
F-ES Sitecore 14-May-15 11:03am    
google "call storedprocedure ado.net"
Andy Lanng 14-May-15 11:05am    
Does your system use any query objects? ODBC? SQL Client? EF?
What have you tried? How are you connected to the database?

"Throw is a bone, here"
Success Savada Muthu 14-May-15 12:31pm    
Iam using SQL Express 2008 connect with Connection String
ZurdoDev 14-May-15 14:30pm    
1. Reply to comment so that the user is notified.
2. Bind how? There are millions of ways to show the data so you have to be clear on where you are stuck.
virusstorm 14-May-15 13:19pm    
What do you want to bind the stored procedure to (i.e. DataTable, POCO, etc.)? How do you want to display it (i.e. DataGrid, DataRepeater, etc.)?

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