COMPUTER_LZY

要输就输给追求,要嫁就嫁给幸福

导航

上一页 1 2 3 4 5 6 ··· 11 下一页

2012年8月13日 #

sql 中字符串的处理

摘要: declare@timevarchar(50),@indexintselect@time=GETDATE()print@timeset@index=PATINDEX('%%',@time)set@time=SUBSTRING(@time,@index,LEN(@time))print@time结果:08 13 2012 8:51AM 8:51AMLEN(@time) :获取@time的字符串长度GETDATE():得到当前日期PATINDEX('%%',@time):获取' '在@time中的位置SUBSTRING(@time,@index,LE 阅读全文

posted @ 2012-08-13 08:54 CANYOUNG 阅读(217) 评论(0) 推荐(0) 编辑

2012年8月7日 #

Expression Blend3 破解

摘要: 资源来自网络,共享给大家,提供给 Expression 学习爱好者学习交流,事业用途请购买正版。方法:安装好官方体验版后,将附件中的Dll文件,替换每个设计工具安装根目录下的文件即可。/Files/computer-lzy/ExpressionStudio3_Crack.zip 阅读全文

posted @ 2012-08-07 10:58 CANYOUNG 阅读(502) 评论(0) 推荐(0) 编辑

2012年7月20日 #

C# 中DateTime的各种使用

摘要: 获得当前系统时间:DateTimedt=DateTime.Now;Environment.TickCount可以得到“系统启动到现在”的毫秒值DateTimenow=DateTime.Now;Console.WriteLine(now.ToString("yyyy-MM-dd"));//按yyyy-MM-dd格式输出sConsole.WriteLine(dt.ToString());//26/11/2009AM11:21:30Console.WriteLine(dt.ToFileTime().ToString());//129036792908014024//Convert 阅读全文

posted @ 2012-07-20 08:54 CANYOUNG 阅读(102944) 评论(0) 推荐(4) 编辑

2012年7月13日 #

将DataSet中的数据导出到Excel

摘要: 方法A:staticclassExportingCellByCellMethod{publicstaticvoidExportToExcel(DataSetdataSet,stringoutputPath){//CreatetheExcelApplicationobjectApplicationClassexcelApp=newApplicationClass();//CreateanewExcelWorkbookWorkbookexcelWorkbook=excelApp.Workbooks.Add(Type.Missing);intsheetIndex=0;//CopyeachDataTa 阅读全文

posted @ 2012-07-13 14:10 CANYOUNG 阅读(617) 评论(0) 推荐(0) 编辑

2012年7月9日 #

无法向会话状态服务器发出会话状态请求

摘要: 错误信息:无法向会话状态服务器发出会话状态请求。请确保 ASP.NET State Service (ASP.NET 状态服务)已启动,并且客户端端口与服务器端口相同。如果服务器位于远程计算机上,请检查 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection 的值,确保服务器接受远程请求。如果服务器位于本地计算机上,并且上面提到的注册表值不存在或者设置为 0,则状态服务器连接字符串必须使用“localhost”或“127.0.0.1”作为服务器名称原因分 阅读全文

posted @ 2012-07-09 10:33 CANYOUNG 阅读(254) 评论(0) 推荐(0) 编辑

2012年7月6日 #

发布Silverlight,报错 <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />

摘要: 在发布silverlight时,报如下错误:Configuration ErrorDescription:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message:It is an error to use a section 阅读全文

posted @ 2012-07-06 15:41 CANYOUNG 阅读(4576) 评论(1) 推荐(0) 编辑

2012年6月29日 #

SQL Server忘记密码后的处理方法

摘要: 情景:SqlServer2008,sa用户,忘记密码怎么办?解决办法:一般在安装Sql server2008的过程中会有设置一个sa用户的密码,也会选择混合模式登陆。如果忘记sa用户密码,可以选择Windows身份验证登陆,然后在“安全性”——>“登录名”下右键sa选择属性,在弹出的对话框中可重新设置sa密码。 阅读全文

posted @ 2012-06-29 14:23 CANYOUNG 阅读(883) 评论(0) 推荐(0) 编辑

2012年6月25日 #

XP系统下修改文件夹的不同用户角色的读写权限

摘要: 1:打开我的电脑---上边(工具)----文件夹选项2:出来一个框选择(查看)--找到(使用简单文件共享)把前面的勾去掉---确定3:使用你要设置权限的文件夹---右键属性--选(安全)--两个小框,下边那个可以设置权限 阅读全文

posted @ 2012-06-25 09:55 CANYOUNG 阅读(256) 评论(0) 推荐(0) 编辑

2012年6月20日 #

Custom tool error: Failed to generate code for the service reference ××××××. Please check other error and warning messages for details.

摘要: 开发工具:VS2010,Silverlight4问题描述:在ProjectName.Web中创建的WCF服务,然后在silverlight项目中添加Add Service Reference,然后就报“Custom tool error: Failed to generate code for the service reference ××××××. Please check other error and warning messages for details.”这样的错误,并且在ServiceReferences.Client 阅读全文

posted @ 2012-06-20 15:16 CANYOUNG 阅读(814) 评论(0) 推荐(0) 编辑

2012年6月15日 #

对话框必须由用户启动

摘要: Sliverlight4中打开客户端文件,debug时会报这个错误! OpenFileDialogofld=newOpenFileDialog();ofld.Multiselect=false;boolflag=(bool)ofld.ShowDialog();if(flag==true){stringname=ofld.File.Name;Streamstream=ofld.File.OpenRead();stackpanel_工作表选择.Visibility=Visibility.Collapsed;excel_xml_worksheet_import=newmadamingE... 阅读全文

posted @ 2012-06-15 14:17 CANYOUNG 阅读(1973) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 11 下一页