1

xp - 博客园

 3 years ago
source link: https://www.cnblogs.com/xp/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

2008年4月10日

摘要:<Product ProductSNO="35" ProductName="速度与激情2" /><Product ProductSNO="36" ProductName="大地雄心" /><Product ProductSNO="37" ProductName="木乃伊归来" /><Product ProductSNO="38" ProductName="... 阅读全文

posted @ 2008-04-10 15:50 xp 阅读(267) 评论(0) 推荐(0) 编辑

摘要:FOR XML 子句的基本语法在 FOR 子句中指定 XML 模式的基本语法为:FOR XML mode [, XMLDATA] [, ELEMENTS][, BINARY BASE64]参数XML mode指定 XML 模式。XML 模式决定所得到的 XML 的形式。mode 可以是 RAW、AUTO 或 EXPLICIT。XMLDATA指定应返回 XML-Data 架构。文档的架构被预先设计为... 阅读全文

posted @ 2008-04-10 15:45 xp 阅读(339) 评论(0) 推荐(0) 编辑

2007年12月19日

摘要:<asp:DataList ID="dlAllProduct" runat="server" ><ItemTemplate><asp:HyperLink ID="likPot" runat="server" NavigateUrl='<%#"../ProductBrowse/VideoPlay.aspx?ProductSNO="+DataBinder.Eval(... 阅读全文

posted @ 2007-12-19 16:40 xp 阅读(1482) 评论(0) 推荐(0) 编辑

摘要:select DueTime=case [PayMentTypeChildSNO] when '0' then (case ProductTypeSNO when '9' then CONVERT(varchar(20),DATEADD(day,30,ProductPurchase.CreateTime),120)/** 整套电视剧**/ else CONVERT(varchar(20),DATE... 阅读全文

posted @ 2007-12-19 11:47 xp 阅读(159) 评论(0) 推荐(0) 编辑

2007年11月29日

摘要:目的:加密web.config中的敏感信息,使之不暴露给用户。步骤:1、建立虚拟目录WebSite,在该目录下建立一个test.aspx页面,代码为<%@ Page Language="C#" %><%Response.Write(System.Security.Principal.WindowsIdentity.GetCurrent().Name);%>运行一下窗体显示 ... 阅读全文

posted @ 2007-11-29 10:47 xp 阅读(182) 评论(0) 推荐(0) 编辑

2007年11月21日

摘要:在web开发中如何替换URL传递的参数的值呢?例如:“AddProductVideo.aspx?page=1&ProductSNO=77&type=0”,我想在程序中替换page=1为page=2,可以采用如下方法:string url = "AddProductVideo.aspx?page=1&ProductSNO=77&type=0";... 阅读全文

posted @ 2007-11-21 16:27 xp 阅读(375) 评论(0) 推荐(0) 编辑

2007年11月8日

摘要:在生成缩略图地过程中,一开始利用.net 提供地GetThumbnailImage方法来实现,发现生成的有些图片质量很差。底是哪里出了问题呢,我们看下GetThumbnailImage方法在msdn上的说明:如果 Image 包含一个嵌入式缩略图像,则此方法会检索嵌入式缩略图,并将其缩放为所需大小。如果 Image 不包含嵌入式缩略图像,此方法会通过缩放主图像创建一个缩略图像。问题在于原照片上上,... 阅读全文

posted @ 2007-11-08 21:44 xp 阅读(1090) 评论(1) 推荐(0) 编辑

2007年10月22日

摘要:数据表:index content num1 hello 11 mr 21 king 32 I 12 am 22 best 32 the 4写出sql语句,得到一下查询结果:查询结果:index content 1 hello mr king2 I am the bestalter function dbo.fun_content(@id int)RETURNSVARCHAR(32) ASbegi... 阅读全文

posted @ 2007-10-22 15:22 xp 阅读(378) 评论(0) 推荐(0) 编辑

2007年10月9日

摘要:<table width="480" border="0" cellspacing="0" cellpadding="0" style="word-break:break-all;word-wrap:break-word"><tr><td>希望能够换行。希望能够换行。希望能够换行。希望能够换行。希望能够换行。希望能够换行。希望能够换行。希望能够换行。希望能够换行... 阅读全文

posted @ 2007-10-09 14:41 xp 阅读(1777) 评论(0) 推荐(0) 编辑

2007年9月14日

摘要:<asp:DataList ID="dlTeleplayList" runat="server" RepeatColumns="1" RepeatDirection="Horizontal" Width="160"> <HeaderTemplate> <tr> <td height="24" bgcolor="#CDDBF5" class="t3">... 阅读全文

posted @ 2007-09-14 15:36 xp 阅读(319) 评论(0) 推荐(0) 编辑

2007年8月29日

摘要:学生表studentstuid name age01 xp 2002 pan 12学生属性表id stuid type1 01 A2 01 b3 01 C4 02 A5 02 C如何得到type是既是A、又是B、又是C的学生(即01号学生)。依次类推,如何根据客户对type的输入,得到相应的查询记录。比如客户输入A、C就得到既是A又是C的学生(即01和02),客户输入A、B就得既是A、又是B的学生... 阅读全文

posted @ 2007-08-29 10:53 xp 阅读(171) 评论(0) 推荐(0) 编辑

2006年11月8日

摘要:在SQL Server中使用32全球唯一码(GUID)可用newid来获取。insert into [User](id,name,sex,password)values(newid(),'xp','1','1234')其中id数据列要求是36位char型或Uniqueidentifier型以下内容来自SQL Server联机帮助可以包含对 GUID 数据类型的引用,该数据类型用于存储全局唯一标识符... 阅读全文

posted @ 2006-11-08 12:12 xp 阅读(16539) 评论(1) 推荐(2) 编辑

2006年10月30日

摘要:在.net中不能直接在UI Control的创建线程之外修改UI Control的属性和内容。一个基本办法是通过调用UIControl的Invoke方法。示例:timer触发的函数中更新label的值。private void btnConversion_Click(object sender, EventArgs e) {tm.Elapsed += new ElapsedEventHandler... 阅读全文

posted @ 2006-10-30 21:45 xp 阅读(218) 评论(0) 推荐(0) 编辑

2005年3月14日

摘要:如果你在编写webpart,那你对stsadm这个命令肯定知道,但是你也许记不住那么多的参数。微软的这个小工具就是方便你使用各种参数的。试试吧:http://www.microsoft.com/sharepoint/downloads/components/detail.asp?a=443 阅读全文

posted @ 2005-03-14 17:01 xp 阅读(851) 评论(0) 推荐(0) 编辑


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK