02 2014 档案

摘要:public static DataSet ToDataSetByStream(string Stream) { DataSet ds = new DataSet(); StringReader str = new StringReader(Stream); XmlTextReader xm = new XmlTextReader(str); ds.ReadXml(xm); return ds; } 阅读全文
posted @ 2014-02-12 17:28 JasonGu0 阅读(508) 评论(0) 推荐(0)
摘要:/// /// 将List集合 转换成 DataTable /// /// sellerSearchDealList是我自己定义的一个类 public static DataTable ListToTable(List entitys) { DataTable dtresult = new DataTable(); if (entitys == null || entitys.Count < 1) { throw new ... 阅读全文
posted @ 2014-02-12 17:27 JasonGu0 阅读(648) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/jljxxf/archive/2012/08/19/2646937.html调用资源//定义一个类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Drawing;using System.IO;using System.Reflection;namespace MyImg{ public static class ImageObject { /// /// 得到要绘置... 阅读全文
posted @ 2014-02-08 08:57 JasonGu0 阅读(801) 评论(0) 推荐(0)
摘要:/// /// 将List集合 转换成 DataTable /// /// sellerSearchDealList是我自己定义的一个类 public static DataTable ListToTable(List entitys) { DataTable dtresult = new DataTable(); if (entitys == null || entitys.Count < 1) { throw n... 阅读全文
posted @ 2014-02-05 16:08 JasonGu0 阅读(235) 评论(0) 推荐(0)
摘要:using System.Runtime.InteropServices; [DllImport("user32")]private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags); //下面是可用的常量,按照不合的动画结果声明本身须要的private const int AW_HOR_POSITIVE = 0 x0001;//自左向右显示窗口,该标记可以在迁移转变动画和滑动动画中应用。应用AW_CENTER标记时忽视该标记private const int AW_HOR_NEGA 阅读全文
posted @ 2014-02-05 15:28 JasonGu0 阅读(903) 评论(0) 推荐(0)