Options

print Page 30 Item Card in an .aspx file

MalhodyMalhody Member Posts: 14
edited 2009-03-24 in NAV Three Tier
Hey Guys,

i'm trying to add some records to an GridView, but i don't get it :/.

I added the WebService succesfully to VS but at this point i don't know how to move further :/...

need help

thanks a lot
\:D/

Answers

  • Options
    MalhodyMalhody Member Posts: 14
    btw: got it myself
    using CustomerCardWS;
    public class GetCustomer
    {
        private Customer_Service custService;
        private Customer cust;
    
        public GetCustomer()
    	{
            custService = new Customer_Service();
            custService.UseDefaultCredentials = true;
            custService.Url = "http://XXX:7047/DynamicsNAV/WS/CRONUS_AG/Page/Customer";
    
    	}
        public Customer getCustomerByCustNo(string CustNo)
        {
            cust = custService.Read(CustNo);
            return cust;
        }   
    

    cust now can be displayed by gridview
Sign In or Register to comment.