CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 ATTN Peter - Stored Procedures

Print topic Send  topic

Author Message
slynch401k

Posts: 15
Posted: 11/25/2006, 5:06 PM

Peter:

Are there any tutorials on adding a button to run a stored procedure in C#.NET. I have been using the "Custom Insert" area to add it and renaming the button but I need more buttons and facing a problem where I need to learn this.

What would be nice is a step by step tutorial like the tips sheets in the examples. I have seen multiple people ask for assistance on this.

Here is what I would like to do. Add a button to the bottom of a grid. Add the custom code to the client on click event.

I do not know how to code, but I found this so I am thinking that it is some variation of this to get it running:

("a_spAppendEmployeetoManualContribution;1",Settings.Connection1DataAccessObject);
("@CompanyId",SesUserId,ParameterType.Int,ParameterDirection.Input,0,0,10);


Thanks

Steve
View profile  Send private message
peterr


Posts: 5971
Posted: 11/25/2006, 7:10 PM

Someone answered a similar question about running SPs yesterday: http://forums.codecharge.com/posts.php?post_id=82636
Should work with buttons, although I haven't tested this.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
slynch401k

Posts: 15
Posted: 11/26/2006, 8:04 AM

Peter:

I understand, but that doesn't help me as I am a beginner. I try to search the net for an answer but cannot find one. I would think that this really should be a basic tutorial.

If anyone can get me started in C# with some sample code it would be appreciated. I am sure I can figure it out once I have a starting point.

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.