码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
c# 实现查找mysql安装路径
1.c#可以调用msyql的导入导出命令,但是需要先判断客户机是否安装了mysql,及其安装mysql的路径问题。 2.查询mysql安装路径的函数   private string GetMysqlPath()         {             string strPath = string.Empty;             string strsql = "select...
分类:数据库   时间:2015-03-19 14:47:02    阅读次数:121
Django template language
BasicsA template is a text document or a normal Python string, that is marked-up using the Django template language.A template can contain block tags ...
分类:其他好文   时间:2015-03-19 14:33:07    阅读次数:212
leetcode 题解 || Letter Combinations of a Phone Number 问题
problem: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given belo...
分类:其他好文   时间:2015-03-19 11:30:42    阅读次数:138
Mvc 简单分页代码
public ActionResult MyComment(string id, int page = 1) { string userid = EndUserLoginManage.Instance.loginUserID; IC...
分类:Web程序   时间:2015-03-19 11:28:20    阅读次数:169
Android 之SharedPreferences存储
封装好的一个工具类、直接上代码: /** * @author Jenly * @date 2014-8-8 */ public class SharedPreferencesUtils { public static final String PREF_NAME = "org.king.pref_name_jenly"; public static SharedPreferen...
分类:移动开发   时间:2015-03-19 10:12:29    阅读次数:129
LeetCode – Refresh – Exceel Sheet Column Number
No tricks. 1 class Solution { 2 public: 3 int titleToNumber(string s) { 4 int result = 0, len = s.size(); 5 for (int i = 0; i < le...
分类:其他好文   时间:2015-03-19 10:05:24    阅读次数:256
C#C# ACM poj1007
求逆序数,快排 public static void acm1007(int a, string[] c) { Dictionary dic = new Dictionary(); int[] i = new int[a]; ...
分类:Windows程序   时间:2015-03-19 09:56:23    阅读次数:203
JavaScript中类型检测
文章首发:http://www.cnblogs.com/sprying/p/4349426.html本文罗列了一般Js类型检测的方法,是构建Js知识体系的一小块,这篇文章是我很早之前总结的。一、Js中有5种基本数据类型Undefined 、Null、Boolean、String、Number(包含N...
分类:编程语言   时间:2015-03-19 09:55:23    阅读次数:204
LeetCode – Refresh – Count and Say
Pretty straight forward. count numbers and put char. 1 class Solution { 2 public: 3 string getNext(string s) { 4 ostringstream oss; 5 ...
分类:其他好文   时间:2015-03-19 07:47:22    阅读次数:129
.net excel 导入 导出
哎,好好的代码今天说来个实验,结果用的是office15 气死人了,网上最高office14.dll 文章转自2012年 QQ群:13615607 MR.Young 1 private DataSet loadSouce(string path) 2 { 3 4 5...
分类:Web程序   时间:2015-03-19 06:18:05    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!