VI,ARIES Representative: KOF
The reason why Aries people deserve love is not because of how good they are, but because they are not perfect ......In the dictionary of Aries, there will never be two words "Exploitation". They do not know what is "adsorption" or "yang, aries's choice of people as friends always depends on whether you are "worth making", rathe
ASP. NET Aries getting started development tutorial 3: Develop a list page and control query area, aries query AreaPreface:
After all, the Aries framework is a development framework, so the focus is to write code so that developers will not be unemployed.Step 1: Create an html
Create an Html file in three steps:
1: Introduce
Aries _ Don't rush too fast and forget to enjoy the surrounding scenery
Every minute or second, Aries's mind is a new plan. You have too many ideas about the future, and sometimes even make yourself very busy to make money. Once a job is ignited, it cannot be put out. In the Work of Aries, there are indeed a lot of self-identification pioneering work, and new developments have been made in your career as y
Objective:With the popularization of ASP. Aries, just a little bit of leisure, quickly fill in the Excel Import function tutorial.Excel import features, divided into four: single-table configuration (top), multi-table Advanced Configuration (middle), configuration rules (under), Code writing (external).This article describes the single-table configuration feature.1, configure the table header, the need to import the hook to hit.For a formatted configu
Major updates:1: Added support for sub-directory deployment.2: Increase TAURUS.MVC support.3: Optimization and bug fix.1: Added support for sub-directory deployment:In fact, when rewriting the Aries framework, I removed the directory deployment function, mainly to speed up the development of Aries.However, the latest user feedback, need to be deployed in sub-directory, so on the homeopathic directory deployment of this feature to increase.2: Add TAURU
ASP. NET Aries 4.0 open-source release: optimized and rewritten basic functions, asp. netariesMajor updates:
1: added the AR. Global. GetUser () method to return the user information of the current login.
2: rewrite AR. Combobox to support the drop-down tree.
3: Adjust and extend the configuration parameters in the Input drop-down list.
4: optimize and add methods related to AR. Combobox.
5: rewrite the configuration and algorithm of the level header.
ASP. NET Aries JSAPI documentation Description: AR. DataGrid, jsapiar. datagrid
AR. DataGrid documentUsage:
Constructor
Name
Description
New AR. DataGrid(ObjName, tableName, tableID, isTreeGrid)
ObjName: name of the primary object (view name or table name)Used to obtain the column header and data presentation tableTableName: Table Name, used for editing or deleting operationsTableID: The default value is dg. Otherwise, you mu
ASP. NET Aries getting started development tutorial 1: download and run the framework, asp. netariesBackground:
In view of the increasing number of users of the framework, there are too few documents, and many users have a high entry threshold for reflecting the framework.
Okay, let's take a hard time writing tutorials!Step 1: Download the framework source code
Open Source Address: https://github.com/cyq1162/Ar
=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611/17408-20161118215155748-148076195.png "/>Effect:650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161118215235013-1000468569.png "/>9: Inline editing-determines the values of other columns by the value of a column:For example, when the classification of the choice of different, the title of the content is: Category name + title.650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/17408/201611
classification of the choice of different, the title of the content is: Category name + title.Effect:10: Inline edit-added jump to custom page processing:This goes back to the previous article: ASP. NET Aries Tutorial 5: Customizing the contents of the " other 1:" item in the toolbar area of the list page.11: Master-Slave table:Easyui Support master-slave table, give the idea:Effect:Summarize:This section focuses on two core: formatting, inline editi
Objective:The import configuration feature provided by the framework has been able to solve more than 95% of the import situation, but in some cases, the code should be solved.This article describes the code associated with importing.1, the front-end append the input post parameters:var Grid = new AR. DataGrid (' v_test ', ' Demo_testa '),//.../* Append some Post parameters */grid before import. ToolBar.BtnImport.onBeforeExecute = function (para) { alert ("Imported parameter:" + JSO
configurations are more complex, not described):How to configure: Add a field (beginning with mg_) and set the number of ordinal and cross-columns.5: Export: With multi-level table header:6: Import: Template and Import error verification function1: Downloaded template with validation data:Sheet2 Archive drop-down data:3:excel error message when importing:Returns the error message on the downloaded Excel list: (Error fields and error messages will be marked red)Summarize:Recently, almost all the
ASP. NET Aries getting started development tutorial 5: toolbar area of the custom list page, asp. netariesPreface:
Hurry up and continue to write the tutorial, because the content that the user expects is processed by the business.
I have to continue to work hard.
This section describes how to use the toolbar.
Default toolbar introduction:
The Toolbar contains five buttons by default, which are displayed based on different permissions:
Add: add Delete
ASP. NET Aries DataGrid configuration table header instructions, ariesdatagridDataGrid configuration Header
Field
Chinese
Description
Field
Field
Note: The fields starting with mg _ are hierarchical headers.
Title
Column name
OrderNum
Serial number
Display Order (frozen and non-frozen columns are serial numbers of two groups)
Width
Column width
Set the width (the last field is
Setvalues method
Paras
Property
The value set by the Setparas method
Method events
Name
Description
Setparas
Set query criteria for the ObjName property of input
Setvalues
Set Selectedvale for the ComboBox of input
Onafterexecute
function (type, $input, options)One of the following values for type:Configkey, objname, Dialog
Setcombo
To set properties for a Com
ASP. NET Aries JSAPI documentation Description: AR. Form, AR. Combobox, jsapiar. formAR. Form document 1: objects or attributes:
Name
Type
Description
Data
Attribute
Edit page data returned based on primary key request
Method
Attribute
The point of the function used to obtain data. The default value is Get.
ObjName
Attribute
The name of the request data object used to intercept the form. It c
additional conditions?var dg = new AR.DataGrid ("article", "article", "grid"); ..... dg.Search.BtnQuery.onBeforeExecute = function (para) {alert (Json.stringify (para)); } dg.bind ();Click Results:650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/17408/201611/17408-20161115190024982-1620996962.png "/>Para is an array, you can push the new one, you can remove the old ones, and you can modify the existing ones.Don't ask me how JS operates an array.return FALSE if you want to stop the
') ####### #在python2中有file这种用法#如果在打开文件时不指定模式, the default is read modef =Open' A.txt ',' A + ',encoding=' Utf-8 ')#追加模式打开文件, the file pointer is directly at the end of the line, can read and write, if the file is not present in the current directory to create this fileF.seek (0)F.write (' Lingyul ')#写的是字符串F.writelines ([' 123 ',' 456 ',' 789 '])#写的是列表F.seek (0)Print (F.read ())F.seek (0)Count=0For lineIn F: Print' Line%s ' is:%s '% (count,line))Count + =1F.truncate ()#清空文件内容res=Open' B.txt ','
the absence of this worthy case will be addedPrint (info)#删除del info[' addr ']Print (info)#字典是无序的, so you must specify what to delete when you delete with popPrint (Info.pop (' phone '))Print (info)Info.popitem () #随即删除一个元素Info.clear () #清空字典#????????????????????????????????????????????????????????????????????????????New_infos = [{' YANGWB ':{' ID ': 1,' Sex ': ' Mans ',' Phone ': 250,' Addr ': ' huoying '},' Yangwn ':{' ID ': 2,' Sex ': ' Mans '}}]Print (New_infos[0].get (' YANGWB '). Get (' a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.