当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: The .NET Framework Beta
 

 

    摘要: 利用 .net 框架简化发布和解决 dll hell 问题 steven pratschner microsoft corporation 2000年9月 摘要: 本文介绍汇编概念并说明 .net 框架如何使用汇编解决版本和发布问题。 目录 简介 问题叙述 解决方案的特性 汇编:积木 版本与共享 版本策略 发布 摘要 ---------------......
 ·三、现有的o/rmapping产品介绍    »显示摘要«
    摘要: 接上) 具体过程如下: (1)首先建立数据库配置文件,我们在这里定为database.xml,当然也可以改成是其它名字。 <?xml version="1.0" encoding="gb2312"?> <database name="customerdemo" engine="......


CopingwithaNewBeta-DataServerControlTemplatesandEditing
the .net framework beta 2 has many changes that will break applications written in beta 1. among these changes is the templates used in data server controls, such as the datagrid and datalist. these are simply syntax changes in how templates are used, not programmatic breaks. in this tutorial you will learn how to use data server control templates. heck, since its a friday ill also show you how to do datagrid editing at the same time. the downloadable sample code for this article contains files in both visual basic.net and c#. what good is a template? templates can be used with the data server controls to provide a custom layout of the data bound to the control. the datagrid provides a basic grid, with one row for each record, and one table column for each field in the row. templates can be used with a templatecolumn to custom format the layout of the column. the datalist provides one row for each record in the data source, and templates are used to format the layout of each row. the repeater control is entirely custom. templates are used to provide the layout for the entire repeater control. changing a name is a big deal in beta 1 you would use a datagrid, and set up templates using a templatecolumn. this is the same in beta 2, however there are some slight changes to the syntax. in beta 1 a datagrid using a templatecolumn would look like the code in listing 1. listing 1 <asp:datagrid runat="server" id="mygrid"   autogeneratecolumns="false" >   <property name="columns">     <asp:templatecolumn headertext="info">       <template name="itemtemplate">         <b><%# databinder.eval(container.dataitem,"companyname") %></b><br>         <%# databinder.eval(container.dataitem, "contactname")%>         -         <%# databinder.eval(container.dataitem, "contacttitle")%><br>         <%# databinder.eval(container.dataitem, "address")%><br>         <%# databinder.eval(container.dataitem, "city") %>,         <%# databinder.eval(container.dataitem, &qu
...   下一页
 ·使用ado.net的最佳实践    »显示摘要«
    摘要: [简介] ado.net作为微软最新的数据访问技术,已经在企业开发中得到了广泛的应用。对于一线的开发人员来说,掌握基本的概念和技术之后,提高应用水平和解决实际问题的最有效手段,莫过于相互交流彼此的最佳时间经验经验。在这篇文章中,两位ado.net专家向读者毫无保留地、详尽地介绍了很多实用经验。 简介 本文为您提供了在microsoft ado.net应用程序中实现和获得最佳性能、......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE