注释1:<span>@item.PostDate</span>   获取数据库该表的PostDate的当前时间

     时间格式化: <span>[@string.Format("{0:yyyy-MM-dd}", item.PostDate)]</span>

注释2:@DS.StringExtensions.Ellipsis(item.Title,18) 取字段

注释3:<a href='@Url.FrontUrl().PageUrl("list",new { cateUUID = "UAJJT3FVF6764SNT" })'> >>更多</a>           

    // 栏目UUID  传值

posted @ 2014-06-03 12:00 SINOZhudx 阅读(131) 评论(0) 推荐(0)
摘要: 1,新建C#控制台应用程序(Excel创建图表)using System;using System.Collections.Generic;using System.Linq;using System.Text;//解决方案中 添加引用 Execl(COM组件)using MSExcel = Microsoft.Office.Interop.Excel;using System.IO;using System.Reflection;namespace ExeclCharts{ class Program { static void Main(string[] args) { ... 阅读全文
posted @ 2014-02-08 09:52 SINOZhudx 阅读(308) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示