This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region 数值计算 | |
/// <summary> | |
/// 求2个数的百分比 | |
/// </summary> | |
/// <param name="num1"></param> | |
/// <param name="num2"></param> | |
/// <returns></returns> | |
public string GetRate(string num1, string num2) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<!--<meta http-equiv="Refresh" content="3; url=http://www.qidian.com" />--> | |
<title>获取qq空间收藏音乐</title> | |
<script type="text/javascript">var h=''; | |
function jsonCallback(data) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
dbms_output.put_line('hello world.'); | |
end; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal void MergeTable(DataTable src) | |
{ | |
bool enforceConstraints = false; | |
if (!this.isStandAlonetable) | |
{ | |
if (src.DataSet == this.dataSet) | |
{ | |
return; | |
} | |
enforceConstraints = this.dataSet.EnforceConstraints; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
Console.WriteLine(DateTime.Now.ToString("yyyyMMdd")); | |
Console.WriteLine(DateTime.Now.ToString("yyyy-MM-dd")); | |
Console.WriteLine(DateTime.Now.ToString("yyyy/MM/dd")); | |
Console.WriteLine(DateTime.Now.ToString("yyyy年MM月dd日")); | |
Console.WriteLine(DateTime.Now.ToString("yyyy~MM~dd")); | |
/* 输出: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
staic void Main() | |
{ | |
Consolw.WriteLine("Hello World."); | |
} |
NewerOlder