摘要: <StackPanelx:Name="StackPanelPerson"Grid.Row="1"Width="200"><TextBoxText="{BindingMode=TwoWay,Path=UnitPrice,ValidatesOnExceptions=True,NotifyOnValidationError=True,StringFormat=\{0:F\}}"/><TextBoxHeight="23"Text="{BindingMode=Two 阅读全文
posted @ 2012-08-11 00:35 skydau 阅读(260) 评论(0) 推荐(0) 编辑
摘要: public class ToPercentConverter : IValueConverter { #region IValueConverter Members public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { decimal valuedecimal; if (decimal.TryParse(value.ToString(), out valuedecimal))... 阅读全文
posted @ 2012-08-10 22:58 skydau 阅读(165) 评论(0) 推荐(0) 编辑
摘要: <UserControlx:Class="SilverlightApplication3.MainPage"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://sc 阅读全文
posted @ 2012-07-09 18:03 skydau 阅读(192) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/wackelbh/article/details/6248136<UserControlx:Class="SilverlightApplication2.MainPage"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.co 阅读全文
posted @ 2012-07-05 00:25 skydau 阅读(232) 评论(0) 推荐(0) 编辑
摘要: <urlMappings enabled="true"> <!--<add url="~/products/g_{0}/category.htm" mappedUrl="~/products/{0}/group.htm"/>--> </urlMappings><value>繁體中文</value> 阅读全文
posted @ 2011-11-05 18:05 skydau 阅读(156) 评论(0) 推荐(0) 编辑
摘要: SETROWCOUNT0select*into#rrrfrom[OA_test].[dbo].[Company_KLFolder]----新建临时表#rrrdeclare@KLFGUIDuniqueidentifierdeclare@CGUIDuniqueidentifierdeclare@countintdeclare@SequenceintWHILEEXISTS(select[KLFGUID]from#rrr)---遍历临时表beginSETROWCOUNT1---------设置影响行数为1select@KLFGUID=cast([KLFGUID]asvarchar(max)),@CGU 阅读全文
posted @ 2011-07-16 10:49 skydau 阅读(2894) 评论(0) 推荐(0) 编辑
摘要: http://www.wyzxsx.com/Article/Class10/200807/43810.html 阅读全文
posted @ 2011-06-17 23:10 skydau 阅读(144) 评论(0) 推荐(0) 编辑
摘要: this.comboBox1.SelectedItem=(frompinthis.comboBox1.Itemswhere(pasPerson).Age==20selectp).First(); 阅读全文
posted @ 2011-05-11 10:41 skydau 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 本文来自http://blog.csdn.net/tangzhongxin/archive/2009/10/03/4630699.aspx 阅读全文
posted @ 2011-04-20 13:22 skydau 阅读(242) 评论(1) 推荐(0) 编辑
摘要: Asp.Net 性能 ViewState 压缩的2种方法usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.IO;usingSystem.IO.Compression;usingSystem.Web.UI;///<summary>///SummarydescriptionforPageBase///</summary>publicclassPageBase:System.Web.UI.Page{//压缩publicstaticbyte[]Comp 阅读全文
posted @ 2011-04-06 18:08 skydau 阅读(212) 评论(0) 推荐(0) 编辑