User1269925535 posted
hi
i added the web services to my web sit.
i can call and use this web service in testBank.aspx.cs but i cand use it in the classes in the app_code.
this may testBank.aspx.cs file that work with web service with no problem:
public partial class testBank : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
BPService.PaymentGatewayImplService bpService = new BPService.PaymentGatewayImplService();
}
}
this my Class that hase problem
public class Bank_
{
//here i get error
public string PayRequest(long orderId, long amount, string AddData)
{
BPService.PaymentGatewayImplService bpService = new BPService.PaymentGatewayImplService();
}
//....
}
any idea?