.net呼叫SP使用方法如下:/// /// 使用SP /// /// /// /// /// /// public DataTable GetMasterData(string LOG_DATE_S, string LOG_DATE_E...
分类:
其他好文 时间:
2015-04-20 12:48:52
阅读次数:
121
编码:class Program { static void Main(string[] args) { int obj1 = 2; Test test1 = new Test(obj1); Cons...
List集合中的数据写到本地主要方法 及 生成文件方法 1 private boolean PostFlie(String brand, List listKpis) { 2 3 String year = String.valueOf(getCurrentYear());...
分类:
其他好文 时间:
2015-04-20 12:47:46
阅读次数:
169
DataGridView导出Excel
(这个需要 Microsoft.Office.Interop.Excel.dll 在网上下载就可以)
public static void ExportExcel(string fileName, DataGridView myDGV)
{
string saveFileName = "";
...
Count and SayTotal Accepted:39135Total Submissions:154215My SubmissionsQuestionSolutionThe count-and-say sequence is the sequence of integers beginnin...
分类:
其他好文 时间:
2015-04-20 11:10:37
阅读次数:
109
//根据映射名称,获取映射关系对应的主键public static IObjectPK getBotmpID(Context ctx){ String sql = "select fid from T_BOT_Mapping t where t.fname = ?"; IRowSet ...
分类:
其他好文 时间:
2015-04-20 10:59:10
阅读次数:
184
下面是Jquery中AJAX参数详细列表:参数名 类型 描述 url String (默认: 当前页地址) 发送请求的地址。 type String (默认: "GET") 请求方式 ("POST" 或 "GET"), 默认为 "GET"。注意:其它 HTTP 请求方法,如 PUT 和 DELET....
分类:
Web程序 时间:
2015-04-20 10:52:44
阅读次数:
201
题目:Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeati...
分类:
其他好文 时间:
2015-04-20 10:51:37
阅读次数:
117
今碰到个需要对16进制的字符串进行加1的需求,写了以下函数。Private Function AddHexString(s As String) As String ReDim n(Len(s)) For i = 0 To UBound(n) - 1 n(i) = Asc(Mid(s, Len(s)...
分类:
编程语言 时间:
2015-04-20 10:50:22
阅读次数:
222
删除主键ALTER TABLE `wfmtest`.`products` DROP PRIMARY KEY;列 用特殊的符号包裹起来区别关键字`products`string 函数 http://dev.mysql.com/doc/refman/5.7/en/string-functions.htm...
分类:
数据库 时间:
2015-04-20 10:48:36
阅读次数:
163