自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 sivelrlight 结合asp.net用于大文件下载

一、在web项目下添加一个“一般处理程序”using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;namespace Silverlightdownload.Web{ /// /// FileDownLoader 的摘要说

2016-07-08 18:58:53 322 1

原创 LeetCode 172. Factorial Trailing Zeroes(C++)

题目:Given an integer n, return the number of trailing zeroes in n!.  Note: Your solution should be in logarithmic time complexity.解法1::   分析:对n!做质因数分解n!=2x*3y*5z*...显然0的个数等于min(

2016-06-03 18:57:28 315 1

原创 LeetCode OJ: 9. Palindrome Number (C++)

题目:Determine whether an integer is a palindrome. Do this without extra space.解法1、需要额外空间:   存储各位数字,逆转,换回逆转值,与原值比较class Solution {public: int reverse(int x) { long long sum=0; lo

2016-06-03 17:07:09 445 1

原创 leetcode : Counting Bits

Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and return them as an array.Example:For num = 5

2016-05-10 20:44:02 421 1

原创 visual studio 2010 添加数据库连接 测试连接通过 报错:关键字不在数据字典中

一、现象visual studio 2010 添加数据库连接 时, 测试连接能通过,但是却报错:关键字不在数据字典中;二、可能原因做多个项目时,手动安装数据库provider,并使用该provider加入数据连接,而在移除provider后,该数据连接仍在数据连接的列表上,此时,则无法再加入数据连接,并出现此错误。三、解决办法当这种情况发生时有两种解决方式:1.重新安装provider,再移除vs

2015-09-18 11:08:18 4126 3

原创 Silverlight DataGrid用法

Silverlight DataGrid用法一、数据绑定1、整个datagrid绑定数据源PagedCollectionView drugListview = new PagedCollectionView(mClient.Students); //一定要用PagedCollectionView DataGridbyPager.ItemsSource = null; DataGridb

2015-07-26 17:03:44 430

转载 C#字符串操作总结

C#判断字符串为空最通用的方法就是IsNullOrEmpty()无论是"", string.Empty还是null。

2015-06-25 21:40:13 557

空空如也

空空如也

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

TA关注的人

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