网站大量收购独家精品文档,联系QQ:2885784924

sql转化为excel表格(SQL converted to excel form).doc

sql转化为excel表格(SQL converted to excel form).doc

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
sql转化为excel表格(SQL converted to excel form)

sql转化为excel表格(SQL converted to excel form) # region dataset导出excel / / / summary / / / dataset导出excel / / / / summary / / / param name = arrtitle 列标题, 若为null, 则直接取dataset列标题 / param / / / param name = ds / 要导出的dataset param / / / param name = filename excel文件名, 不需要传入扩展名 / param protected void createexcel (string [] arrtitle, dataset ds, string filename) { stringbuilder strb = new stringbuilder (); strb.append ( html xmlns: o \ = urn: schemas - microsoft com: office: office (); strb.append (xmlns: x ^ = urn: schemas - microsoft com: office: excel (); strb.append (xmlns = \ http: / / www.w3. org / tr / rec - html40 \ ); strb.append ( head meta http - equiv = content type content = textml; charset = gb2312 ); strb.append ( style ); strb.append (.xl26); strb.append ({mso style - parent: style0;); strb.append (font family: times new roman , serif; ); strb.append (mso - font - charset: 0;); strb.append (mso - number format: * @ * ;}); strb.append ( / style ); strb.append ( xml ); strb.append ( x: excelworkbook ); strb.append ( x: excelworksheets ); strb.append ( x: excelworksheet ); strb.append ( x: name sheet1 / x: name ); strb.append ( x: worksheetoptions ); strb.append ( x: defaultrowheight 285 / x: defaultrowheight ); strb.append ( x: selected / ); strb.append ( x: panes ); strb.append ( x: pane ); strb.append ( x: number 3 / x: number ); strb.append ( x: activecol 1 / x: activecol ); strb.append ( / x: pane ); strb.append ( / x: panes ); strb.append ( x: protectcontents false / x: protectcontents ); strb.append ( x: protectobjects false / x: protectobjects ); strb.append ( x: protectscenarios false / x: protectscenarios ); strb.append ( / x: worksheetoptions ); strb.append ( / x: excelworksheet ); strb.append ( x: windowheight 6750 / x: windowheight ); strb.append ( x: windowwidth 10620 / x: windowwidth ); strb.append ( x: windowtopx 480 / x: windowtopx ); strb.append ( x: windowtopy 75 / x: windowtopy ); strb.append ( x: prot

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档