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?
|
|
|
dragoon
Posts: 173
|
Posted: 02/07/2007, 12:18 AM |
|
command.ExecuteNonQuery();
|
|
|
|