空间无限,追求无限...

导航

10 2006 档案

javascript获取难以索引的对象
摘要:1.EvalfunctionsimpleSwap(){varthe_image=prompt("changeparrotorcheese","");varthe_image_name="window.document."+the_image;varthe_image_object=eval(the_image_name);the_image_object.src="ant.gif";}2.名称索引... 阅读全文

posted @ 2006-10-22 20:28 笨鸟先飞_淡泊人生 阅读(315) 评论(1) 推荐(0)

SQL行列转换
摘要:1.行列转换--普通假设有张学生成绩表(CJ)如下NameSubjectResult张三语文80张三数学90张三物理85李四语文85李四数学92李四物理82想变成姓名语文数学物理张三809085李四859282declare@sqlvarchar(4000)set@sql='selectName'select@sql=@sql+',sum(caseSubjectwhen'''+Subject+''... 阅读全文

posted @ 2006-10-20 19:06 笨鸟先飞_淡泊人生 阅读(949) 评论(0) 推荐(1)

JavaScript二级联动下拉菜单
摘要:<html><head><title>test</title><scriptlanguage="javascript">//varselect1_len=document.frm.s1.options.length;varselect2=newArray(4);for(i=0;i<4;i++){select2[i]=newArray... 阅读全文

posted @ 2006-10-18 21:20 笨鸟先飞_淡泊人生 阅读(3555) 评论(2) 推荐(0)

asp.net从数据库中读取图片
摘要:/**////<summary>///经过处理获取所略图///</summary>///<paramname="ms"></param>///<paramname="height"></param>///<returns></returns>privatebyte[]LessonPicAutoWidth... 阅读全文

posted @ 2006-10-18 12:41 笨鸟先飞_淡泊人生 阅读(1199) 评论(0) 推荐(0)

GridView模板列示范代码
摘要://页面源代码<formid="form1"runat="server"><divstyle="text-align:center"><asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"CellPadding="4"ForeColor="#333333"GridLines="None"... 阅读全文

posted @ 2006-10-18 10:39 笨鸟先飞_淡泊人生 阅读(975) 评论(0) 推荐(0)

GrdView用法备忘
摘要:1.GrdView命令列弹出对话框 <asp:GridView ID="GridView1" runat="server" OnRowCommand="GridView1_RowCommand"> <Columns> <asp:ButtonField CommandName="编辑" Text="编辑" /> <asp:ButtonField Comman... 阅读全文

posted @ 2006-10-11 13:24 笨鸟先飞_淡泊人生 阅读(590) 评论(0) 推荐(0)