添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Test automation for Micro Focus UFT: Windows Forms Test automation for Micro Focus UFT: WPF Test automation for IBM RFT: Windows Forms Team Productivity
  • Slingshot Connect everyone you work with to data, project management, content and chats for better results.
  • SharePlus Secure, instant access to content and data on the go – with or without connectivity.
  • <!-- Ignite UI for jQuery Required Combined CSS Files --> <link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" /> <link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/structure/infragistics.css" rel="stylesheet" /> <script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script> <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script> <script src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script> <!-- Ignite UI for jQuery Required Combined JavaScript Files --> <script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.core.js"></script> <script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.lob.js"></script> <script> // neccessary for older IE browsers $.support.cors = true; </script> <style> #dataSelector, #pivotGrid { float: left; </style> </head> <div class="sampleContent"> @(Html.Infragistics().OlapDataSource().ID("xmlaDataSource") .DataSourceOptions( dataSourceOptions => dataSourceOptions .Columns("[Product].[Product Categories]") .Rows("[Sales Territory].[Sales Territory]") .Measures("[Measures].[Internet Order Count]") .XmlaOptions( xmlaOptions => xmlaOptions .ServerUrl("https://sampledata.infragistics.com/olap/msmdpump.dll") .Catalog("Adventure Works DW Standard Edition") .Cube("Adventure Works") .MeasureGroup("Internet Sales"))).Render()) @(Html.Infragistics().PivotDataSelector().Width("250px").Height("650px").DataSourceID("xmlaDataSource").ID("dataSelector").Render()) @(Html.Infragistics().PivotGrid().Width("560px").Height("650px").DataSourceID("xmlaDataSource").ID("pivotGrid").Render()) </body> </html> using System.Web.Mvc; using Infragistics.Web.Mvc; using IgniteUI.SamplesBrowser.Application.Data; using System.Data; using System.Data.SqlClient; using IgniteUI.SamplesBrowser.Models.Repositories; using Newtonsoft.Json.Converters; using System.Linq; using System; namespace IgniteUI.SamplesBrowser.Controllers public class PivotDataSelectorController : Controller [ActionName("using-the-asp-net-mvc-helper-with-flat-data-source")] public ActionResult UsingAspNetMvcHelperWithFlatDataSource() var invoices = RepositoryFactory.GetInvoiceRepository().Get().Take(200).Select(invoice => new Address = invoice.Address, City = invoice.City, CustomerName = invoice.CustomerName, Discount = invoice.Discount, Freight = invoice.Freight, OrderDate = invoice.OrderDate == null ? null : invoice.OrderDate.Value.AddYears(16).ToShortDateString(), ProductName = invoice.ProductName, Quantity = invoice.Quantity, RequiredDate = invoice.RequiredDate == null ? null : invoice.RequiredDate.Value.AddYears(16).ToShortDateString(), Salesperson = invoice.Salesperson, ShipCountry = invoice.ShipCountry, ShippedDate = invoice.ShippedDate == null ? null : invoice.ShippedDate.Value.AddYears(16).ToShortDateString(), ShipperName = invoice.ShipperName return View("using-the-asp-net-mvc-helper-with-flat-data-source", invoices); [ActionName("using-the-asp-net-mvc-helper-with-xmla-data-source")] public ActionResult UsingAspNetMvcHelperWithXmlaDataSource() return View("using-the-asp-net-mvc-helper-with-xmla-data-source");