摘要: //文章出处: http://www.cnblogs.com/hlxs/archive/2011/05/09/2087976.html DataTable转换成IList 在用C#作开发的时候经常要把DataTable转换成IList;操作DataTable比较麻烦,把DataTable转换成ILi 阅读全文
posted @ 2016-05-28 15:38 byronming 阅读(713) 评论(1) 推荐(0) 编辑
摘要: MVC 各种传值方式 ViewData传值.HomeController.cs Co de: public ActionResult Index(){ ViewData["Title" ] = "Home Page" ; ViewData["Message" ] = "Welcome to ASP. 阅读全文
posted @ 2016-05-24 22:57 byronming 阅读(1002) 评论(0) 推荐(0) 编辑
摘要: 有思想的码农学习是一种方法 博客园 首页 新随笔 联系 订阅 管理 posts - 16, comments - 1, trackbacks - 0 ASP.NET MVC3中Controller与View之间的数据传递总结 目录 Controller向View传递数据 使用ViewData传值数据 阅读全文
posted @ 2016-02-18 14:13 byronming 阅读(353) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections.Specialized;using System.IO;using System.Ru 阅读全文
posted @ 2016-02-18 11:16 byronming 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: DateTime dt = DateTime.Now;// Label1.Text = dt.ToString();//2005-11-5 13:21:25// Label2.Text = dt.ToFileTime().ToString();//127756416859912816// Label 阅读全文
posted @ 2016-02-17 13:39 byronming 阅读(274) 评论(0) 推荐(0) 编辑
摘要: public static void Main(string[] args) { #region String Extensions string result0 = "[frank%loch".StringConvert4SQLLke(); //替换sql模糊匹配的时候里面的特殊字符 bool r 阅读全文
posted @ 2016-02-16 14:53 byronming 阅读(180) 评论(0) 推荐(0) 编辑
摘要: public string SeveImage(string hpf, out string imgaddr) { bool isSavedSuccessfully = true; string fileName = string.Empty; string fileNames = string.E 阅读全文
posted @ 2016-02-15 11:37 byronming 阅读(494) 评论(0) 推荐(0) 编辑
摘要: USE dbNameGO/****** Object: StoredProcedure [dbo].[usp_Createjob] Script Date: 03/26/2014 14:36:30 ******/if exists (select * from dbo.sysobjects ... 阅读全文
posted @ 2015-12-22 10:10 byronming 阅读(590) 评论(1) 推荐(0) 编辑
摘要: 一.纯js实现Js代码二.jquery实现1.遍历对象Js代码$(function(){vartbody="";//------------遍历对象.each的使用-------------//对象语法JSON数据格式(当服务器端回调回来的对象数据格式是json数据格式,必须保证JSON的格式要求,... 阅读全文
posted @ 2015-10-20 09:41 byronming 阅读(290) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data.SqlClient;using System.Collections;using System.Data;namespace TestW... 阅读全文
posted @ 2015-08-25 17:42 byronming 阅读(330) 评论(0) 推荐(0) 编辑