Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

adding a stored procedure

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luke Davis - 17 Jul 2007 21:39 GMT
I'm trying to add a stored procedure to my Visual C# Express project, but it
won't add, I try to drag it from the database explorer and drop it onto the
form like I've seen done before and it won't work.   Can someone tell me a
manual way or a better method of referencing a stored procedure in C#
Express?

Thanks,

Signature

Luke Davis, MCSE: Security
DEM Networks - Senior Systems Architect
7225 N First, Suite 105
Fresno, CA 93720
Office: 1 (559) 439-1000
Fax:  1 (866) 640-2041
www.demnetworks.com

Adrian Voicu - 17 Jul 2007 22:02 GMT
You cannot drag & drop a storred procedure object onto a form in .NET. If
you want to use the results from a stored procedure you have to write some
code to call one from the database and specify where the results should go
into. Here is an example:

http://www.csharp-station.com/Tutorials/AdoDotNet/Lesson07.aspx

Adrian.
----
[Please mark my answer if it was helpful to you]

> I'm trying to add a stored procedure to my Visual C# Express project, but it
> won't add, I try to drag it from the database explorer and drop it onto the
[quoted text clipped - 3 lines]
>
> Thanks,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.