上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: 今天我们的工程项目文件总是提示 File for ..... not found.无法签入,签出某个文件。上网找了找,明白了vss的工作原理。vss只是把工程文件分部分保存在data中。只要重新构建你丢失的文件就可以了。找的的资料:http://support.microsoft.com/kb/160914http://blog.sina.com.cn/s/blog_4eaf6e1801000mgx.html 阅读全文
posted @ 2011-07-21 11:32 空紫竹 阅读(812) 评论(0) 推荐(1) 编辑
摘要: The HTTP request to <URL To WCF Service> has exceeded the allotted timeout. The time allotted to this operation may have been a portion of a longer timeout.1) Web.Config <httpRuntime executionTimeout="600" />2) On your Web.Config Binding Elements <binding name="customBi 阅读全文
posted @ 2011-07-20 14:02 空紫竹 阅读(424) 评论(2) 推荐(0) 编辑
摘要: isnumeric当输入表达式得数为一个有效的整数、浮点数、money 或 decimal 类型,那么 ISNUMERIC 返回 1;否则返回 0。 阅读全文
posted @ 2011-07-20 09:57 空紫竹 阅读(6263) 评论(0) 推荐(0) 编辑
摘要: asp中的getChunk(img_size)当 img_size为0时会报错的。img_size = rs_img(imageFieldName).ActualSizers_img(imageFieldName).getChunk(img_size) 阅读全文
posted @ 2011-07-15 11:21 空紫竹 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 今天无意中把一个重要的文件夹中的数据全部删除。后来到网上找到了EasyRecovery软件。使用了一下很不错。下面链接是使用方法。 http://www.dell800.com/thread-544-1-2.html 阅读全文
posted @ 2011-07-07 15:36 空紫竹 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 这几天我的代码的签入、签出特别慢。后来发现是瑞星的文件监控惹的祸。把开发目录设置在瑞星文件监控的白名单中就可以了。以前是没有问题的,我也安装了瑞星,并且也打开着文件监控的。现在不知道怎么回事了,就慢了。郁闷我好几天的问题了。终于解决了。 阅读全文
posted @ 2011-07-06 11:35 空紫竹 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 空格 (& #x0020;) Tab (& #x0009;) 回车 (& #x000D;) 换行 (& #x000A;) 阅读全文
posted @ 2011-07-01 12:23 空紫竹 阅读(188) 评论(0) 推荐(0) 编辑
摘要: stringss=o.ToString();Response.Expires=0;Response.Buffer=true;Response.Clear();Response.ClearHeaders();Response.ClearContent();Response.AddHeader("Content-disposition","attachment;filename=1.doc");Response.ContentType="application/vnd.ms-word";Response.Write("<h 阅读全文
posted @ 2011-06-09 16:34 空紫竹 阅读(461) 评论(2) 推荐(0) 编辑
摘要: http://tokyo2006.iteye.com/blog/762813 阅读全文
posted @ 2011-06-09 14:26 空紫竹 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 这是我写的第一个Linq 语句。写的比较慢。因为经常写sql现在写Linq总是感觉不顺手。不说了,下面就是我的一个Linq语句。获得每组的记录数:varb=fromainList1letpcount=List2.Where(s=>s.CenterId==a.CenterId).Count()wherea.CenterId!=0selectnew{groupID=1,CenterID=a.CenterId,lal=a.Latitude,lo=a.Longitude,isHave=a.HasData,countC=pcount};获取组中记录最大的varc=fromdinbgroupdbyd 阅读全文
posted @ 2011-05-30 12:53 空紫竹 阅读(523) 评论(0) 推荐(0) 编辑
摘要: createtable#Temp(DatabaseNamevarchar(200),bigfloat,typeint)declare@sqlvarchar(1000),@iint,@Namevarchar(200)set@sql='INSERTINTO#TempSELECTname,size*8.0/1024,typeFROM'set@sql=@sql+'[?].sys.database_files'EXECUTEsp_msforeachdb@sqlselect'Datafile'asFType,(selectsum(big)from#Tempw 阅读全文
posted @ 2011-05-19 10:44 空紫竹 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 1.触发器方法createTriggerTrigger_NameonTable1afterdelete,UPDATEasbeginsetnocounton;ifexists(select*frominserted)updateTable2setfield1=(selectfield1frominserted)wherefield1=(selectfield1frominserted)elsedeletefromTable2wherefield1=(selectfield1fromdeleted)setnocountoff;end 2. 创建外键关联关系ALTERTABLEtable1ADDCO 阅读全文
posted @ 2011-05-17 09:20 空紫竹 阅读(3808) 评论(0) 推荐(0) 编辑
摘要: // get focus inside the Silverlight plugin System.Windows.Browser.HtmlPage.Plugin.Invoke("focus"); // queue this call to occur after the plugin focus Dispatcher.BeginInvoke(delegate() { this.TestID.Focus(); }); 阅读全文
posted @ 2011-05-12 17:07 空紫竹 阅读(334) 评论(0) 推荐(0) 编辑
摘要: Silverlight 中的RichTextBox 的Hyperlink设置 IsReadOnly="True"时 Hyperlink可以使用。 阅读全文
posted @ 2011-05-11 10:18 空紫竹 阅读(210) 评论(0) 推荐(0) 编辑
摘要: publicstaticvoidSetCookie(Stringkey,Stringvalue,TimeSpan?expires){StringBuildercookie=newStringBuilder();cookie.Append(String.Concat(key,"=",value));if(expires.HasValue){DateTimeexpire=DateTime.UtcNow+expires.Value;cookie.Append(String.Concat(";expires=",expire.ToString("R&q 阅读全文
posted @ 2011-05-09 17:26 空紫竹 阅读(313) 评论(2) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页