会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
挨过最黑的夜 成为最亮的星
你若坚强 花必绽放
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
2015年12月21日
MVC @Url.Action 小示例
摘要: 功能说明:从Action获取图片路径,页面显示图片页面:后台代码: public ActionResult ImagePath(string id) { string path = Server.MapPath("/Content/Images/" + id + ...
阅读全文
posted @ 2015-12-21 17:01 飙速
阅读(1668)
评论(1)
推荐(1)
2015年12月17日
Eclipse快捷键
摘要: 行注释/销注释 Ctrl+/ 块注释/销注释/XML注释 Ctrl+Shift+/ Ctrl+Shift+\ 查找 查找替换 Ctrl+H Ctrl+F 查找下一个/往回找 Ctrl+K Ctrl+Shift+K 跳到某行 Ctrl+L,哈用惯了Editplus,不时会敲下Ctrl+G, 查找当前元...
阅读全文
posted @ 2015-12-17 16:01 飙速
阅读(209)
评论(0)
推荐(0)
2015年12月15日
MVC视频下载/文件上传
摘要: 一、网页代码@using (Html.BeginForm("FileUpload", "Home", FormMethod.Post, new { enctype = "multipart/form-data" })){ }二、后台代码 public ActionResult File...
阅读全文
posted @ 2015-12-15 15:15 飙速
阅读(459)
评论(0)
推荐(0)
2015年12月8日
MySQL数据库备份/导出
摘要: 一、Navicat 数据库备份:保存即可!二、Workbench导出数据库希望能帮到新手!
阅读全文
posted @ 2015-12-08 14:05 飙速
阅读(324)
评论(0)
推荐(0)
C#文件下载
摘要: 闲话少说,直接上源码:(所写内容为WinForm程序,主要用到WebClient类和普通的数据流操作,两种方法下载,个人实验发现WebClient适合小文件下载,数据流操作适合大文件下载,建议使用方法五)using System;using System.Collections.Generic;us...
阅读全文
posted @ 2015-12-08 13:23 飙速
阅读(548)
评论(0)
推荐(0)
2015年12月4日
C#正则表达式匹配字符串中的数字
摘要: 今天遇到了类似的开发,记录一下(直接贴代码了): private void button1_Click(object sender, EventArgs e) { string str = "m=\"1\"+\"2\"+\"3\"+\"4\"+\"5\"+\"6\...
阅读全文
posted @ 2015-12-04 11:50 飙速
阅读(6825)
评论(0)
推荐(0)
2015年11月26日
常用的LINQ to SQL 用法
摘要: 一、Where操作 适用场景:实现过滤,查询等功能。 说明:与SQL命令中的Where作用相似,都是起到范围限定也就是过滤作用的,而判断条件就是它后面所接的子句。 Where操作包括3种形式,分别为简单形式、关系条件形式、First()形式。下面分别用实例举例下:1.简单形式:例如:使用whe...
阅读全文
posted @ 2015-11-26 14:57 飙速
阅读(580)
评论(0)
推荐(1)
2015年9月11日
C# 实现抓取网页内容(一)
摘要: 一、窗体应用程序界面:二、上源码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;usin...
阅读全文
posted @ 2015-09-11 17:54 飙速
阅读(1201)
评论(0)
推荐(1)
2015年9月10日
C# 繁体字和简体字之间的相互转换
摘要: 一:窗体应用程序界面二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using...
阅读全文
posted @ 2015-09-10 16:22 飙速
阅读(3414)
评论(0)
推荐(0)
上一页
1
2