上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
  2013年2月25日
摘要: select a.invadjustid,b.waresn from TInvAdjust a,tinvadjust bwhere a.invadjustsn<>b.invadjustsn and a.invadjustid=b.invadjustid order by a.invadjustid desc 阅读全文
posted @ 2013-02-25 11:23 jameshappy 阅读(587) 评论(0) 推荐(0) 编辑
  2013年2月22日
摘要: 1. What is the typical structure of an ABAP/4 program?ANS:- HEADER ,BODY,FOOTER.2. What are field symbols and field groups.?Have you used "component idx of structure" clause with field groups?ANS:- Field symbols:- Field groups :-Can any body explain me what is field group?Field groups are 阅读全文
posted @ 2013-02-22 15:38 jameshappy 阅读(258) 评论(0) 推荐(0) 编辑
  2013年1月8日
摘要: 一、Select语句中使用FOR ALL ENTRIES IN需要注意的问题在ABAP编程中,使用for all entries in 是必不可少的语句,相信大家都使用过,例如:data: begin of ig_bseg occurs 0, werks likebseg-werks,belnr like bseg-belnr, gjahr like bseg-gjahr, dmbtr like bseg-dmbtr, end of ig_mseg.if not ig_bkpf[] is initial. selectwerks belnr gjahr dmbtrinto correspond 阅读全文
posted @ 2013-01-08 09:56 jameshappy 阅读(264) 评论(0) 推荐(0) 编辑
  2012年12月25日
摘要: 几个基础表的关系VBAK 销售订单抬头VBAP 销售订单行项目KNA1 客户主文件一般数据vbak和vbap通过vbeln关联vbak和kna1通过kunnr关联LIPS 交货单明细VBRP 发票行项目VBFA 销售凭证流vbap和vbfa通过 vbfa~vbelv = vbap~vbeln vbfa~posnv = vbap~posnrlips和vbfa通过 lips~vbeln = vbfa~vbeln lips~posnv = vbfa~posnvvbrp和vbfa通过 vbrp~vbeln = vbfa~vbeln vbrp~po... 阅读全文
posted @ 2012-12-25 11:53 jameshappy 阅读(14249) 评论(0) 推荐(0) 编辑
  2012年12月19日
摘要: 读取excel /// <summary> /// 从选择的excel导入 /// </summary> /// <returns></returns> public DataSet ImportExcel() { //文件路径 string ExcelName = ofd_in.FileName; string strcon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + ExcelName + ";E... 阅读全文
posted @ 2012-12-19 13:26 jameshappy 阅读(10367) 评论(0) 推荐(1) 编辑
  2012年12月18日
摘要: 1、当dataset中包含了html等特殊字符用这个处理public void CreateExcel2(DataSet ds) { //创建一个excel application Excel.Application xls_exp=null; int rowindex=1; int colindex=0; //创建一个workbook,一个worksheet Excel._Workbook xls_book=null; Excel._Worksheet xls_sheet=null; ... 阅读全文
posted @ 2012-12-18 09:33 jameshappy 阅读(3015) 评论(0) 推荐(0) 编辑
  2012年11月29日
摘要: using System.Configuration;//导入命名空间 //配置文件 Web.config <appSettings> <!--数据连接字符串--> <add key="SqlConnectionStr" value="server=.;uid=sa;pwd=sa;database=RCCMS"/> </appSettings> //在程序里获得配置文件的Key对应的值 System.Configuration.ConfigurationSettings.AppSettings[" 阅读全文
posted @ 2012-11-29 11:17 jameshappy 阅读(16524) 评论(1) 推荐(0) 编辑
  2012年11月21日
摘要: url传汉字出现乱码解决办法对汉字进行编码和解码页面1Response.Redirect("Default2.aspx?para1="+HttpUtility.UrlEncode("中国你好数据")+"&para2=数据的方式的");页面2this.Label1.Text = Request["para2"].ToString(); //没有解码操作this.Label2.Text = System.Web.HttpUtility.UrlDecode(Request["para1"].T 阅读全文
posted @ 2012-11-21 17:17 jameshappy 阅读(614) 评论(0) 推荐(0) 编辑
摘要: string utfinfo = getpage; string gb2312info = string.Empty; Encoding utf8 = Encoding.UTF8; Encoding gb2312 = Encoding.GetEncoding("gb2312"); // Convert the string into a byte[]. byte[] unicodeBytes = utf8.GetBytes(utfinfo); ... 阅读全文
posted @ 2012-11-21 17:13 jameshappy 阅读(1159) 评论(0) 推荐(0) 编辑
  2012年11月12日
摘要: ALTER TABLE dd AUTO_INCREMENT = 100000; 阅读全文
posted @ 2012-11-12 14:52 jameshappy 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页