会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奔跑的海龟
停止脚步的那一刻也许就是你被猎杀之时
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2014年11月12日
安卓中常用的弹出框
摘要: 1.AlertDialog.Builder builder = new Builder(MainActivity.this);builder.setTitle("确认" ) ;builder.setMessage("这是一个简单消息框" ) ;builder.setPositiveButton("是...
阅读全文
posted @ 2014-11-12 16:24 码动未来
阅读(890)
评论(0)
推荐(0)
2014年11月11日
c#将数据导出到excel中
摘要: DataTable dt = new BLL.T_Expiry().GetAllList().Tables[0];//查询数据string FileName = "T_Users.xls";HttpResponse response = Page.Response; response.Append...
阅读全文
posted @ 2014-11-11 10:51 码动未来
阅读(303)
评论(0)
推荐(0)
2014年11月10日
将表里的数据分组,并取每组中的最大的一条数据
摘要: select * from ( select ID,GameName,BeginTime,EndTime,CreateTime,IsuseID, row_number() over(partition by GameName order by IsuseID desc) rn from dbo.T_...
阅读全文
posted @ 2014-11-10 09:58 码动未来
阅读(588)
评论(0)
推荐(0)
2014年10月29日
c#如何写服务,打包和卸载服务
摘要: Service.cs 每隔一分钟进行一次数据操作 public Service1() { InitializeComponent(); System.Timers.Timer mtimer = new System.Timers.Timer(); mtimer.Elapsed += new Sy...
阅读全文
posted @ 2014-10-29 11:13 码动未来
阅读(377)
评论(0)
推荐(0)
2014年10月27日
C#排列组合类,写彩票算法的朋友们可以来看一看
摘要: public class PermutationAndCombination<T> { /// <summary> /// 交换两个变量 /// </summary> /// <param name="a">变量1</param> /// <param name="b">变量2</param> pu
阅读全文
posted @ 2014-10-27 17:12 码动未来
阅读(1015)
评论(0)
推荐(0)
2014年10月21日
学习.net的步骤
摘要: 第一步学习HTML与CSS这并不需要去学一大堆的诸如Dreamweaver,Firework之类的各种网页设计工具,关键是理解HTML网页嵌套的block结构与CSS的box模型。许多ASP.NET控件最后都必须转化为HTML。而且,(div+css)是当前主流的网页布局模型。 学习这部分时,关键在...
阅读全文
posted @ 2014-10-21 15:56 码动未来
阅读(293)
评论(0)
推荐(0)
2014年10月17日
WebRequest发送请求并接收返回值
摘要: public string getXmlStr(string hphmcode) { string Url = "http://localhost:8080/readvioinfo.jsp"; string hphm = hphmcode; string hpzl = "02"; //Encodi...
阅读全文
posted @ 2014-10-17 15:08 码动未来
阅读(424)
评论(0)
推荐(0)
C#将数据导入到Excel表格中
摘要: public static DataTable GetExcelToDataTableBySheet(string FileFullPath, string SheetName){ //string strConn = "Provider=Microsoft.Jet.OleDb.4.0;" + "d...
阅读全文
posted @ 2014-10-17 15:07 码动未来
阅读(847)
评论(0)
推荐(0)
c#发送邮件功能
摘要: protected void Page_Load(object sender, EventArgs e) { //先到qq邮箱设置中启用smtp服务 Random random = new Random(); string checkCode = ""; string strFrom = "2222...
阅读全文
posted @ 2014-10-17 15:06 码动未来
阅读(110)
评论(0)
推荐(0)
c#获取MAC地址和IP地址
摘要: 一获取mac地址1.先添加system.management的dll组件2.添加引用public string GetMACAddress(){string MoAddress = "";ManagementObjectSearcher query = new ManagementObjectSea...
阅读全文
posted @ 2014-10-17 15:05 码动未来
阅读(930)
评论(1)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告