Софт, утилиты, полезные программы, бесплатные программы
Софт, утилиты, полезные программы, бесплатные программы
Delphi components  

MayerSoft.Web.Controls.Spreadsheet

  Версия: 1.0
Автор:MayerSoft LLC
Лицензия:Commercial
Скачать Цена:$19.95

Описание:

This ASP.NET server control creates a spreadsheet grid and enables formulas, numbers, text, labels and dates in cells. Use in financial calculators or anywhere else a spreadsheet template is used...albeit in a web page! FAQ What functions are supported (Sum(),Year(), etc.)? All functionality from the .NET System.dll framework are supported. For example: Basic math: [c0r0]+[c0r1] System.Math namespace: Math.Pow(1+[c1r7],2) Strings: "[c0r1]".Trim().Replace("$","").Substring(0,1) Dates: DateTime d=new DateTime([c1r0]);return d.Year; Formula cell references such as '[c0r1]' are replaced by the value of the cell, then evaluated. (Note that the value of a date cell is the number of ticks.) So the above examples might look like this before being evaluated: Basic math: 100+200 System.Math namespace: Math.Pow(1+.045,2) Strings: "$57".Trim().Replace("$","").Substring(0,1) Dates:DateTime d=new DateTime(632272996777884556);return d.Year; Formula cells are created like this: Spread1.AddCell(new FormulaCell(1,6,"[c1r4]*[c2r6]","Formula",NumericFormats.ToTheDollar)); See below for more examples of how formula cells work. Note also that there are two kinds of formulas, simple and multiline. The example below shows both types of formulas. Code used in this example Initialization of a spreadsheet Using MayerSoft.Web.Controls; private void Page_Init(object sender, System.EventArgs e) { Spread1.LicenseKey="eL!NJ@2H3aF";//sample key } private void Page_Load(object sender, System.EventArgs e) { if(!IsPostBack) { Spread1.Columns.Add(new Column(150)); Spread1.Columns.Add(new Column()); Spread1.AddCell(new Cell(0,0,"Item 1","Label")); Spread1.AddCell(new Cell(0,1,"Item 2","Label")); Spread1.AddCell(new Cell(0,2,"Total","Label")); Spread1.AddCell(new Cell(0,3,"Div by pct","Label")); Spread1.AddCell(new Cell(0,4,"Result","Label")); Spread1.AddCell(new Cell(0,5,"Price

Скриншот:

Афоризм

Недостающую глубину мысли обычно компенсируют ее длиной.
Ш. Монтескьё


Анекдот

-- Ты знаешь,-- говорит жена мужу,-- я где-то слышала, что
люди друг друга на "вы" величают, и мне это так понравилось!..
Давай и мы так, как паны, будем...
-- Давай,-- согласился муж.
-- Свирид Петрович, а что вам подать на обед? -- начала но-
вую жизнь жена.
-- Пожалуйста, вареники с творогом, Ульяна Семеновна.
-- Вот вам и варенички, ешьте на здоровье.
Целый день называли они друг друга на "вы". А вечером
муж ушел в трактир. Сидят с кумом, выпивают. Приходит жена.
-- Я вас жду, я вас всюду ищу! Я так переживаю за вас, мои
дорогой Свирид Петрович, а ты, свинья,, забрался в этот проклятый
трактир! Чтоб тебя черт побрал, пьяница окаянный!


Прикол

Я ДРУГОЙ ТАКОЙ СТРАНЫ НЕ ЗНАЮ, ГДЕ ТАК!


Календарь на 2020 год Календарь на 2021 год Delphi components, Delphi database, BDE Alternative bde administrator, bde download delphi .net zip library, .net zip component .NET compress, .NET encrypt цигун москва даосизм

Добавить PAD