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(); }
public static void upgradeNAVI(int moduleID, NAVI navi) { }