易截截图软件、单文件、免安装、纯绿色、仅160KB

flex datagrid .net

==============flex===========
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="Service.GetCustomers.send();" width="689" height="592">
 
    <mx:WebService id="Service"  wsdl="http://localhost:4702/flex/Service.asmx?WSDL" useProxy="false">
        <mx:operation name="GetCustomers">
         
        </mx:operation>
    </mx:WebService>
    <mx:DataGrid x="25" width="100%" y="10" dataProvider="{Service.GetCustomers.lastResult.Tables.customer.Rows}">
        <mx:columns>
            <mx:DataGridColumn headerText="ID" dataField="id"/>
            <mx:DataGridColumn headerText="标题" dataField="title"/>
            <mx:DataGridColumn headerText="内容" dataField="content"/>
            <mx:DataGridColumn headerText="时间" dataField="time"/>
            <mx:DataGridColumn headerText="类型" dataField="type"/>
        </mx:columns>
    </mx:DataGrid>
  
</mx:Application>
=========flex=======================
==========.net===================
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Data
Imports System.Data.SqlClient
'若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消对下行的注释。
' <System.Web.Script.Services.ScriptService()> _
<WebService(Namespace:="http://tempuri.org


相关文档:

Flex与webServices交互传递数据

    为了在应用程序中使用数据,Adobe Flex 包括了与HTTP servers,web services 或remoteobject services
(Java objects)进行交互的组件,这些组件被称之为远程过程调用(RPC)服务组件。
    与 Adobe ColdFusion,PHP 或类似的服务器技术不同,Flex 应用程序并不直接连接数据
库。举 ......

Flex中如何去掉Tree控件默认文件夹图标、叶子节点图标

  .treeStyte{
    selectionColor: #417597;
    /* 去掉默认图标 */
    folderClosedIcon: ClassReference(null);
            folderOpenIcon: ClassReference(null);
   &nbs ......

Top 10 things new Flex developers should know

Top 10 things new Flex developers should know
By Michael Portuesi | Published: November 27, 2009
While helping a coworker get started with Flash and Flex development, I thought it would be a good time to cover the list of things that I have found pretty essential to know about Flex development, co ......

Flex 集合(ArrayCollection)

合是ActionScript 中功能强大的基于索引的数组组件,添加了如对内容进行排序等功能,
操作数组的读取位置,创建经过排序的数组视图。集合也能通知其任意事件监听器监听其数
据是否改变,以及任何数据项被添加到源数组时可执行自定义逻辑。当数据改变时可通知其
监听器,这是集合的新功能,叫数据绑定,还有就是允许DataG ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号