07 2011 档案

摘要:查询数据的源代码:string conString="data source=127.0.0.1;database=test;user id=sa;password=123"; string strSQL="select * from student"; SqlConnection myConnection=new SqlConnection(conString); DataSet ds=new DataSet(); myConnection.Open(); SqlDataAdapter adapter=new SqlDataAdapter(strSQL 阅读全文
posted @ 2011-07-22 08:21 lawdong 阅读(464) 评论(0) 推荐(0)
摘要:批处理文件(1)功能:把文件夹F:\picture\I\my中的所有子目录中的文件复制到文件夹 F:\picture\I\asd中@echo offfor /r F:\picture\I\my %%i in (*.jpg) do if exist %%i copy "%%i" F:\picture\I\asd /ypause批处理文件(2)功能:把文件夹F:\picture\I\my下的文件夹里的文件重命名,递进重命名,从01开始。@echo off&Setlocal EnableDelayedExpansionset n=100for /r F:\picture\ 阅读全文
posted @ 2011-07-08 21:51 lawdong 阅读(341) 评论(0) 推荐(0)

http://home.cnblogs.com/ing/