致支持和关注本Blog的朋友:
感谢你访问PaulLeder--程序部落。
在这里包括一些与计算机有关知识的讨论和学习。
我希望能以这个网站为平台,和大家一起交流计算机程序设计的经历和心得。
衷心祝福大家在学业和事业上不断进步,体会成功、自信和快乐。
可控制Flash Player的Javascript方法一览表
作者:PaulLeder 日期:2008-01-25
CacheDependency/Context.Cache
作者:PaulLeder 日期:2008-01-24
关闭浏览器上"为帮助保护你的安全,..."
作者:PaulLeder 日期:2008-01-17
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN
将右侧的iexplore.exe的键值设置为0,如果此项不存在,则新建立一个,类型为REG_DWORD。
将右侧的iexplore.exe的键值设置为0,如果此项不存在,则新建立一个,类型为REG_DWORD。
.net生成缩略图
作者:PaulLeder 日期:2008-01-17
How to correctly insert a Flash into XHTML
作者:PaulLeder 日期:2008-01-14
http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml
DropDownList与数据控件绑定时返回值为空设定
作者:PaulLeder 日期:2008-01-14
在vs2005中绑定DropDownList和数据控件的时候不允许为空值,否则会出错,处理办法如下:
引用内容
红色部分为增加部分。
引用内容<asp:DropDownList ID="DropDownList" runat="server" DataSourceID="ObjectDataSource" DataTextField="Name" DataValueField="UserId" Enabled="False" SelectedValue='<%# Bind("UserId") %>' AppendDataBoundItems="True">
<asp:ListItem Value="">无</asp:ListItem>
</asp:DropDownList>
<asp:ListItem Value="">无</asp:ListItem>
</asp:DropDownList>
红色部分为增加部分。
ObjectDataSource控件获得参数的另一个办法
作者:PaulLeder 日期:2008-01-14
ObjectDataSource设置参数可以是None,QueryString,Session,Control等,但是有的时候传入的参数类型不正确会报错,处理办法是在ObjectDataSource初始化的时候对其参数进行设置.
如下:
引用内容
如下:
引用内容protected void ObjectDataSource_Init(object sender, EventArgs e)
{
ObjectDataSource.SelectParameters["参数名"].DefaultValue = 打算传入的值;
{
ObjectDataSource.SelectParameters["参数名"].DefaultValue = 打算传入的值;







