摘要:
fileName="投资团队ID"+cboTeamID.Text.Trim();fileName+="开始时间"+string.Format("{0:yyyyMMddHHmmss}",dtpTeamStart.Value); fileName+="结束时间"+string.Format("{0:yyyyMMddHHmmss}",dtpTeamEnd.Value); 阅读全文
摘要:
string name=""; string address=""; string company=""; if (!string.IsNullOrEmpty(name)&& !string.IsNullOrEmpty(address)&& !string.IsNullOrEmpty(company) ) { } 阅读全文
摘要:
bool isVisible; string visible = "false"; if (bool.TryParse(visible,out isVisible)) { Console.WriteLine(isVisible); } else { Console.WriteLine("failure"); } 阅读全文
摘要:
using System.Collections;namespace ConTest{ class DataSeries { private Hashtable ownerDatas; public double[] Datas { get; set; } public double[]this[string name] { get { if (ownerDatas==null) { ownerDatas = new Hashtable(); } return (double[])ownerDatas[name]; } set { if (ownerDatas==null) { ownerD. 阅读全文