自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(0)
  • 资源 (14)
  • 收藏
  • 关注

空空如也

chart控件详细实例大全.zip

chart控件实例大全,chart使用方法教程 public partial class Histogram: System.Web.UI.Page { protected System.Web.UI.WebControls.Label Label2; protected void Page_Load(object sender, System.EventArgs e) { // Populate chart with random data Random rand = new Random(); for(int index = 1; index < 70;

2020-09-01

csla企业级框架开发

csla企业级框架开发,曾经工作的公司使用过的框架,多年来一直坚持开源更新,是个不错的企业级开发框架,网上的资料好像不多,了解的人也不是很多,希望此资源对来的人有所帮助

2019-01-12

C# Socket聊天室例子

namespace ChatNDraw { public partial class ChatNDrawForm : Form { LoginForm _frmLogin = new LoginForm(); SelectRoomForm _frmSelectRoom = new SelectRoomForm(); private List<Stroke> _strokeList = new List<Stroke>(); private List<Stroke> _endgoing = new List<Stroke>(); private bool _drawing = false; private Point _startDraw = new Point(); private Bitmap _buffer = new Bitmap(333, 131); private DateTime _started; public ChatNDrawForm() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; } private void btnConnect_Click(object sender, EventArgs e) { switch (_frmLogin.ShowDialog()) { case DialogResult.OK://使用的是一个已经存在的账号登录 connection.Host = _frmLogin.txtHost.Text; connection.Port = (int)_frmLogin.numPort.Value; try { connection.Active = true;//连接到服务器端 connection.Login(_frmLogin.txtUserName.Text, _frmLogin.txtPassword.Text); EnableLoginControls(false); } catch(Exception error) { MessageBox.Show(error.Message, "聊天是服务器连接错误!"); } break; case DialogResult.Yes: //创建一个新的用户连接 connection.Host = _frmLogin.txtHost.Text; connection.Port = (int)_frmLogin.numPort.Value; try { connection.Active = true;//连接到服务器端 connection.LoginNew(_frmLogin.User); EnableLoginControls(false); } catch(Exception error) { MessageBox.Show(error.Message, "聊天是服务器连接错误!"); } break; } }

2019-01-12

C#文件读写demo

namespace CreatFile { public partial class ArgumentsHelper : Form { public ArgumentsHelper() { InitializeComponent(); } string _filename = "00000000000000"; string pars = null; private void bt_Summit_Click(object sender, EventArgs e) { try { //线路车辆信息表 string lcinfo = txt_LineNum.Text + "*" + txt_TeamNum.Text + "*" + txt_BusNum.Text + "*" + txt_TerminalNum.Text + "#"; //扇区城市代码表 string section = txt_Section1.Text + "*" + txt_Section2.Text + "*" + txt_Section3.Text + "*" + txt_Section4.Text + "*" + txt_Section5.Text + "*" + txt_Section6.Text + "&" + txt_CityNum.Text + "#"; //卡类时间间隔表 0*2@1*2@2*2@3*2@4*2@5*2@6*2@7*2@8*2@9*2#卡类时间间隔 string cardtypeinterval = txt_CardType0.Text + "*" + txt_Inerval0.Text + "@" + txt_CardType1.Text + "*" + txt_Inerval1.Text + "@" + txt_CardType2.Text + "*" + txt_Inerval2.Text + "@" + txt_CardType3.Text + "*" + txt_Inerval3.Text + "@" + txt_CardType4.Text + "*" + txt_Inerval4.Text + "@" + txt_CardType5.Text + "*" + txt_Inerval5.Text + "@" + txt_CardType6.Text + "*" + txt_Inerval6.Text + "@" + txt_CardType7.Text + "*" + txt_Inerval7.Text + "@" + txt_CardType8.Text + "*" + txt_Inerval8.Text + "@" + txt_CardType9.Text + "*" + txt_Inerval9.Text + "#"; //卡类表 0*1*2*3*4*5*6*7*8*9# 卡类 string cardtype = txt_CardsType0.Text + "*" + txt_CardsType1.Text + "*" + txt_CardsType2.Text + "*" + txt_CardsType3.Text + "*" + txt_CardsType4.Text + "*" + txt_CardsType5.Text + "*" + txt_CardsType6.Text + "*" + txt_CardsType7.Text + "*" + txt_CardsType8.Text + "*" + txt_CardsType9.Text + "#"; //余额不足表 0*500@1*500@2*500@3*500@4*500@5*500@6*500@7*500@8*500@9*500@17*500# 余额不足金额 string lessbalance = txt_BalanceCardType0.Text + "*" + (int.Parse(txt_Balance0.Text) * 1).ToString() + "@" + txt_BalanceCardType1.Text + "*" + (int.Parse(txt_Balance1.Text) * 1).ToString() + "@" + txt_BalanceCardType2.Text + "*" + (int.Parse(txt_Balance2.Text) * 1).ToString() + "@" + txt_BalanceCardType3.Text + "*" + (int.Parse(txt_Balance3.Text) * 1).ToString() + "@" + txt_BalanceCardType4.Text + "*" + (int.Parse(txt_Balance4.Text) * 1).ToString() + "@" + txt_BalanceCardType5.Text + "*" + (int.Parse(txt_Balance5.Text) * 1).ToString() + "@" + txt_BalanceCardType6.Text + "*" + (int.Parse(txt_Balance6.Text) * 1).ToString() + "@" + txt_BalanceCardType7.Text + "*" + (int.Parse(txt_Balance7.Text) * 1).ToString() + "@" + txt_BalanceCardType8.Text + "*" + (int.Parse(txt_Balance8.Text) * 1).ToString() + "@" + txt_BalanceCardType9.Text + "*" + (int.Parse(txt_Balance9.Text) * 1).ToString() + "#"; //01*000000*235959# 时段 string times = "01*000000*235959#"; //0*01*100*1@1*01*100*2@2*01*100*3@3*01*100*4@4*01*100*4@5*01*100*4@6*01*100*4@7*01*100*4@8*0 //1*100*4@9*01*100*4@17*01*100*2# 消费金额 string amount = txt_TransactionCardType0.Text + "*01*" + txt_Conversion0.Text + "*" + (int.Parse(txt_Amount0.Text) * 1).ToString() + "@" + txt_TransactionCardType1.Text + "*01*" + txt_Conversion1.Text + "*" + (int.Parse(txt_Amount1.Text) * 1).ToString() + "@" + txt_TransactionCardType2.Text + "*01*" + txt_Conversion2.Text + "*" + (int.Parse(txt_Amount2.Text) * 1).ToString() + "@" + txt_TransactionCardType3.Text + "*01*" + txt_Conversion3.Text + "*" + (int.Parse(txt_Amount3.Text) * 1).ToString() + "@" + txt_TransactionCardType4.Text + "*01*" + txt_Conversion4.Text + "*" + (int.Parse(txt_Amount4.Text) * 1).ToString() + "@" + txt_TransactionCardType5.Text + "*01*" + txt_Conversion5.Text + "*" + (int.Parse(txt_Amount5.Text) * 1).ToString() + "@" + txt_TransactionCardType6.Text + "*01*" + txt_Conversion6.Text + "*" + (int.Parse(txt_Amount6.Text) * 1).ToString() + "@" + txt_TransactionCardType7.Text + "*01*" + txt_Conversion7.Text + "*" + (int.Parse(txt_Amount7.Text) * 1).ToString() + "@" + txt_TransactionCardType8.Text + "*01*" + txt_Conversion8.Text + "*" + (int.Parse(txt_Amount8.Text) * 1).ToString() + "@" + txt_TransactionCardType9.Text + "*01*" + txt_Conversion9.Text + "*" + (int.Parse(txt_Amount9.Text) * 1).ToString() + "#"; //0# 转乘优惠 //0#0#0#0#0#44&35;*7309@35*4250@35*3130@35*3180@35*3120@35*7300@35*2144@35*3300@35*1130@35*2230@35*1250@35*6217@35*2155@35*2153#3*10*30*00&1*0*0*2*1*0*3*2*1# 分段消费 string others = "0#0#0#0#0#0#0#"; //100000# 余额过大 string overbalance = (int.Parse(txt_OverBalance.Text) * 1).ToString() + "#"; //组合所有参数表 pars = (lcinfo + section + cardtypeinterval + cardtype + lessbalance + times + amount + others + overbalance).Trim (); } catch (Exception ex) { MessageBox.Show(ex.Message); } //获取日期做文件名 _filename = DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() + DateTime.Now.Day.ToString () + DateTime.Now.Hour.ToString () + DateTime.Now.Minute.ToString () + DateTime.Now.Second.ToString ()+".cs"; //创建文件 Stream st = File.Create(_filename); //FileStream fs = new FileStream(); //关闭STream对象对文件的访问 st.Close(); //指定写入文件 StreamWriter sw = new StreamWriter(Application.StartupPath + "\\"+_filename); //开始写入内容 sw.WriteLine(pars); //关闭写入对象 sw.Close(); MessageBox.Show("保存成功"); this.WindowState = FormWindowState.Minimized; //打开指定文件夹并选定文件 //Process.Start("explorer.exe", "/select, " + _filename); } private void Form1_Load(object sender, EventArgs e) { } } }

2019-01-12

css2.0字典

什么是样式表: CSS 是 Cascading Style Sheet 的缩写。译作「层叠样式表单」。是用于(增强)控制网页样式并允许将样式信息与网页内容分离的一种标记性语言。 如何将样式表加入您的网页: 你可以用以下三种方式将样式表加入您的网页。而最接近目标的样式定义优先权越高。高优先权样式将继承低优先权样式的未重叠定义但覆盖重叠的定义。例外请参阅 !important 声明。 链入外部样式表文件 (Linking to a Style Sheet) 你可以先建立外部样式表文件(.css),然后使用HTML的link对象。示例如下: &lt;head&gt; &lt;title&gt;文档标题&lt;/title&gt; &lt;link rel=stylesheet href="http://www.dhtmlet.com/dhtmlet.css" type="text/css"&gt; &lt;/head&gt;

2019-01-12

网页数据抓取源码例子

&lt;?xml version="1.0"?&gt; <configuration> <configSections> </configSections> <appSettings> &lt;!--数据库连接字符串 --&gt; <add key="ConnectionString" value="server=.\\SQL2008R2;database=Crawl;uid=sa;password=123456"/> </appSettings> <system.web> &lt;!-- 设置 compilation debug="true" 可将调试符号插入到 已编译的页面。由于这会 影响性能,因此请仅在开发过程中将此值 设置为 true。 --&gt; <compilation debug="true"> </compilation> <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> </webServices> <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> </system.web> </configuration> C# .Net 数据抓取 爬虫参考

2019-01-12

大好商城小程序源码

# wechat-weapp-buycar 微信小程序-大好商城demo ##1.首页 ![](./demo.png) ##2.分类 ![](./demo4.png) ##3.个人中心 ![](./demo3.png) ##本人是做android开发,此项目是最近没事做着玩的,前端大神勿喷,按照API文档实现的布局,里面具体的逻辑和功能有待完善,敬请期待!欢迎star,fork ###[微信开发文档](https://mp.weixin.qq.com/debug/wxadoc/dev/api/?t=1475052047016) ###[微信开发工具下载](https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/download.html?t=1475052055364) ##有问题可以加我微信咨询 ![](./wx.jpeg)

2019-01-12

商城小程序源码

# 微信小程序实现移动端商城 ### 项目说明: 微信小程序:实现一个移动端商城 [数据来源:环球小镇(微信公众号:环球小镇),特此感谢] ### 目录结构: - images — 存放项目图片 - pages — 存放项目页面相关文件 - style — 存放独立wxss样式文件,可import引入 - utils — 存放utils文件,可require引入 ### 项目截图: <img src="https://github.com/liuxuanqiang/wechat-weapp-mall/blob/master/images/screenshots/screenshorts-01.png" width="320px" <img src="https://github.com/liuxuanqiang/wechat-weapp-mall/blob/master/images/screenshots/screenshorts-05.png" width="320px" <img src="https://github.com/liuxuanqiang/wechat-weapp-mall/blob/master/images/screenshots/screenshorts-02.png" width="320px" <img src="https://github.com/liuxuanqiang/wechat-weapp-mall/blob/master/images/screenshots/screenshorts-03.png" width="320px" <img src="https://github.com/liuxuanqiang/wechat-weapp-mall/blob/master/images/screenshots/screenshorts-04.png" width="320px" ### 开发环境: 微信web开发者工具 v0.9.092300 ### 项目地址:

2019-01-12

c#通用类库

通用类库包含:Chart图形类/CSV文件转换类库/FTP操作类/JS类/PDF类库/导出Excel类库/汉字转拼音类库/配置文件操作类/日历类/上传下载类/时间操作类/视频转换类/随机数类/条形码类/序列化/压缩解压缩/页面辅助类/验证码/正则表达式/邮件....等等,我就不一一列出来了,欢迎下载

2018-06-18

网页游戏口袋精灵2动图素材包含地图和打击动作

这是多位一起玩口袋的朋友提取的素材,我之前忘记放哪的时候找遍了找不到,还被另一个骗人加水印的资源骗了积分,在这里把我收藏的共享出来给有需要的人,也希望手上有其他宠物图的兄弟给我共享一下

2018-06-18

sqlserver2012序列号,亲测可用

本人一直使用的序列号,分享出来欢迎下载 SQL Server SQL Server 是一个关系数据库管理系统。它最初是由Microsoft Sybase 和Ashton-Tate三家公司共同开发的,于 Microsoft SQL Server Microsoft SQL Server 1988 年推出了第一个OS/2 版本。在Windows NT 推出后,Microsoft与Sybase 在SQL Server 的开发上就分道扬镳了,Microsoft 将SQL Server 移植到Windows NT系统上,专注于开发推广SQL Server 的Windows NT 版本。Sybase 则较专注于SQL Server在UNIX 操作系统上的应用。

2018-06-18

SVG绘制深圳地图-完整例子

SVG深圳地图数据 完整深圳地图demo 不兼容ie8以下低版本浏览器

2018-01-08

sql例子2:折半查找漏数据

折半查找漏数据的例子,仅供学习参考 create procedure fTheLossNo @cardno as begin declare @maxBalance float,@minBalance float,@middleBalance float,@tempMaxBalance float,@tempMinBalance float set @maxBalance = (select max(balance) from em_Recbuf where cardno = @cardno) set @minBalance = (select min(balance) from em_Recbuf where cardno = @cardno) set @tempMaxBalance = @maxBalance set @tempMinBalance = @minBalance if (@maxBalance - @minBalance) = (select (sum(fare) - fare) from em_recbuf where cardno = @cardno) print 'No Miss!!' 详细请看文件

2013-02-26

sql例子:导出/导入数据到exel

导出/导入数据到exel的例子,仅供学习

2013-02-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除