Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            NAVI nav = new NAVI(new Uri("http://localhost:7048/DynamicsNAV130/ODataV4/Company('CRONUS%20CZ%20s.r.o.')"));

            nav.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;

            var customers      = nav.Customer.Select(c => new { c.Name, c.No });
            var customersCount = nav.Customer.Count();

            TextBoxCount.Text       = customersCount.ToString();
            GridViewCust.DataSource = customers;
            GridViewCust.DataBind();
        }
Ejemplo n.º 2
0
 public static void upgradeNAVI(int moduleID, NAVI navi)
 {
 }