CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 Calling Stored Procedure from CodeCharge Studio

Print topic Send  topic

Author Message
fuzfuad

Posts: 7
Posted: 01/23/2007, 3:28 AM

I have read the forum and tried some of the solutions I found from previous forums but I keep getting error messages.

I have a text field and a button beside it. When I click on the button, it is suppose to call a SP passing in 1 parameter and getting a reference no. upon its execution (meaning return call from the SP). This number is then displayed in the text field. I have tried a solution obtained from this forum by adding this line of codes on the on-click event of the button:

Dim command=new SpCommand ("GetDeedRefNo;1",Settings.WaqfConnDataAccessObject);
("@DocNo",ParameterType.Int,ParameterDirection.Input,0,0,10);
command.ExecuteNonQuery

but, I get an errors BC30037-invalid character on line ("Get... , BC30035-Syntax error on line with parameter, and BC30456 - ExecuteNonQuery is not a member of String.

Can anyone help me please?
:-(
View profile  Send private message
dragoon


Posts: 173
Posted: 02/07/2007, 12:18 AM

command.ExecuteNonQuery();
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.

MS Access to Web

Convert MS Access to Web.
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.