摘要:
<add name="ConnectionStr" connectionString="Data sourc =192.168.1.100; Initial Catalog=db;User ID=sa;Password=1111"/> 阅读全文
摘要:
<add name="ConnectionStr" connectionString="Data sourc =192.168.1.100; Initial Catalog=db;User ID=sa;Password=1111"/> 阅读全文
摘要:
SELECT TOP 4 * FROM (SELECT DISTINCT TBL1.* FROM TBL1 LEFT JOIN dbo.VinGrape ON TBL1.VinID = dbo.VinGrape.VinID AND TBL1.VintageID = dbo.VinGrape.VintageID 阅读全文
摘要:
/// <summary> /// 移除 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void panBtn_GwMove_Click(object sender, EventArgs e) { if (this.lisgangwei.SelectedItem != null) { int index = this.lisgangwei.SelectedIn 阅读全文
摘要:
单个字符分割 string s="abcdeabcdeabcde"; string[] sArray=s.Split('c'); foreach(string i in sArray) Console.WriteLine(i.ToString()); 输出下面的结果: ab deab deab de 多个字符分割 string s="abcdeabcdeabcde string[] sArray1=s.Split(new char[3]{'c','d','e'}); foreach(string i 阅读全文
摘要:
create or replace procedure PROC_WF_SL_LCJD_UIiserrstr VARCHAR2(6000):='';errstr_sql VARCHAR2(6000):='';begin update /*+ BYPASS_UJVC */ ( select F_JDMC a , F_JDLX b ,F_LCNM c ,F_LCBH d ,F_LCMC e ,a1,b1,c1,d1,e1 from WF_SL_LCJD left join ( select n.data_id,n.node_desc a1,node_type b1, 阅读全文
摘要:
去掉左后一个字符,string str = "小王,小李,小张,";//获取字符串长度int length = str.length;//截取除最后一位的前面所有字符str = str.substring(0,length-1); *********************** if (sb.Length > 0) { sb.Remove(sb.Length - 1, 1); }---------------------------------------------去掉第一个字符,string aa = ",1,2,3,4,"; aa = aa. 阅读全文
摘要:
如果等于null 就让它是 ""负责就是XXXX方程式为: == null ? "" : XXXX 列子:生日 = List.Birthday.ToString("yyyy-MM-dd") == "1900-01-01" ? "" : List.Birthday.ToString("yyyy-MM-dd") 阅读全文
|