Prado ย่อมาจาก
PHP Rapid Application Development. Prodo เป็น component-based and
event-driven framework พัฒนาจาก PHP และ implement Database Layer
ด้วย
adodb
namespaces ของ Prado ประกอบไปด้วย
prado
System
System.Data
System.Exception
System.I18N
System.I18N.core
System.Security
System.Web.Services
System.Web.UI
System.Web.UI.WebControls
คุ้นๆไหมครับ เหมือน namespace ของ
.NET
Framework เลย
เอาบางส่วนของ Datalist มาให้ดูดีกว่า
ASP.NET
System.Web.UI.WebControls.DataList
CODE
CellPadding="pixels"
CellSpacing="pixels"
DataKeyField="DataSourceKeyField"
DataSource=''
ExtractTemplateRows="True|False"
GridLines="None|Horizontal|Vertical|Both"
RepeatColumns="ColumnCount"
RepeatDirection="Vertical|Horizontal"
RepeatLayout="Flow|Table"
ShowFooter="True|False"
ShowHeader="True|False"
OnCancelCommand="OnCancelCommandMethod"
OnDeleteCommand="OnDeleteCommandMethod"
OnEditCommand="OnEditCommandMethod"
OnItemCommand="OnItemCommandMethod"
OnItemCreated="OnItemCreatedMethod"
OnUpdateCommand="OnUpdateCommandMethod"
runat="server">
Prado
Prado.Web.UI.WebControls.TDataList
CODE
CellPadding="2"
CellSpacing="3"
HorizontalAlign="Justify"
GridLines="Both"
RepeatColumns="1"
RepeatLayout="Table"
RepeatDirection="Vertical"
OnEditCommand="editItem"
OnCancelCommand="cancelItem"
OnUpdateCommand="updateItem"
OnDeleteCommand="deleteItem"
OnSelectCommand="selectItem"
HeaderStyle="background-color:#AAAADD;"
ItemStyle="background:#EEEEEE;"
SeparatorStyle="background:#FAFAFA;"
FooterStyle="background:#BBBBBB;"
EditItemStyle="background-color:LightGreen;"
SelectedItemStyle="background-color:LightYellow;"
style="border-width:1px;border-style:solid;font-family:Verdana;font-size:10pt;width:300px;border-collapse:collapse;">
แหม คล้ายกันมากๆ