上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 1.首先声明,这些方法也都是本人搜集的资料,然后为已所用,程序中不足之处,还请高手指点. 2.网上有好多关于用SQL语句导入导出的例子,这里不再重复写了。 方法1:调用com组件,导出access数据到Excel,就是直接调用access的导出功能,此方法速度超级快 using Access; Access.ApplicationClass oAccess = new Access.Ap... 阅读全文
posted @ 2009-12-18 14:32 superstar 阅读(1070) 评论(0) 推荐(0)
摘要: 格式化代码最有用,经常忘记ctrl+e 放e接着+d 阅读全文
posted @ 2009-12-17 13:50 superstar 阅读(138) 评论(0) 推荐(0)
摘要: id strvalue type1 how 12 are 13 you 14 fine 25 thank 26 you 2要求用sql把它们搜索出来成为这样的#how are you#fine thank you#解答:select (select '#'+replace( replace((SELECT strvalue FROM tb_test t where type = 1 FOR XML... 阅读全文
posted @ 2009-10-30 11:18 superstar 阅读(254) 评论(0) 推荐(0)
摘要: public static void XmlSave() { try { XmlDocument myXmlDoc = new XmlDocument(); myXmlDoc.LoadXml("<picture><name>picture</name></picture>"); XmlElement elem = myXmlDoc.CreateEle... 阅读全文
posted @ 2009-08-25 15:28 superstar 阅读(211) 评论(0) 推荐(0)
摘要: 1。客户端调用服务器端方法:源文件中的代码1 <script language=javascript type="text/javascript">2 function GetCurrentTime()3 {4 PageMethods.GetCurrentTime('NewEgg ajax training',CheckIsSuccess);5 }6 function CheckIsS... 阅读全文
posted @ 2008-05-09 11:38 superstar 阅读(383) 评论(0) 推荐(0)
摘要: Day 01一、 从面向过程编程到面向对象编程的思维转变我们知道所有的计算机程序都是由两类元素组成:代码和数据。此外从概念上将讲,程序还可以以他的代码或是数据为核心进行组织编写。也就是说一些程序围绕“正在发生什么编写“,而另一些程序则围绕”谁将被影响“编写。这两种范型决定程序的构建方法。第一种方法被称为面向过程的模型,用他编写的程序都具有线性执行的特... 阅读全文
posted @ 2008-05-01 18:36 superstar 阅读(1032) 评论(0) 推荐(0)
摘要: 1. 水仙花数三位正整数、153=1~3 + 5~3+3~3For(int i=100; i<1000; i++){ Int bai = 0; Int shi = 0; Int ge = 0; Int baiYushu = 0; bai=i/100; baiYushu=i%100; shi = baiYushu /10; ge = baiYushu % 10; if(i== bai*bai*... 阅读全文
posted @ 2008-04-25 09:59 superstar 阅读(1860) 评论(1) 推荐(0)
摘要: js对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断。例如:<script language="javascript">document.wr... 阅读全文
posted @ 2008-04-07 10:51 superstar 阅读(3077) 评论(0) 推荐(1)
摘要: windowssharepointservices类库说 命名空间:microsoft.sharepoint spsite 功能: representsacollectionofsitesonavirtualserver,includingatop-levelsiteandallitssubsites. 代表一个虚拟服务器的网站集合,包含一个顶集网站和他的任何子站点windowssharepoin... 阅读全文
posted @ 2008-03-19 17:21 superstar 阅读(467) 评论(0) 推荐(0)
摘要: 10.求以下表达式的值,写出您想到的一种或几种实现方法: 1-2+3-4+……+m1:publicclassMainClass{publicstaticvoidMain(){Console.WriteLine(Foo(30));}publicstaticintFoo(inti){if(i<=0)return0;elseif(i>0&&i<=... 阅读全文
posted @ 2008-03-10 16:34 superstar 阅读(1761) 评论(2) 推荐(1)
上一页 1 ··· 7 8 9 10 11 12 13 下一页