2009年11月28日
摘要: 主子表 DataSet dsset = _rs.ExecuteSPForDS("Pro_xxxx", connstr, parameters); DataColumn[] _obj1={dsset.Tables["ds1"].Columns["PRODUCT_NO"],dsset.Tables["ds1"].Columns["parent_id"]}; DataColumn[] _obj2={ds... 阅读全文
posted @ 2009-11-28 10:18 yangyi.com 阅读(556) 评论(0) 推荐(0)
  2008年3月7日
摘要: 1、添加ajaxpro.2.dll引用 2、在webconfig 中 。。。之间添加 3、在 protected void Page_Load(object sender, EventArgs e) { Utility.RegisterTypeForAjax(typeof(_Default), this.Page)... 阅读全文
posted @ 2008-03-07 09:53 yangyi.com 阅读(405) 评论(1) 推荐(0)
  2008年1月16日
摘要: Asp.net的身份验证有有三种,分别是"Windows | Forms | Passport",其中又以Forms验证用的最多。 Web.config中做相应的设置: 其中 表示本应用程序采用Forms验证方式。 当身份验证通过后,将用户名写入cookie中 FormsAuthentication.SetAuthCookie( userN... 阅读全文
posted @ 2008-01-16 15:33 yangyi.com 阅读(212) 评论(0) 推荐(0)
  2008年1月15日
摘要: /// /// 取得随机数 /// /// private string GetRandom(int count) { string strAllChar = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,... 阅读全文
posted @ 2008-01-15 16:19 yangyi.com 阅读(171) 评论(0) 推荐(0)
摘要: private void CreateImage(string str) { char[] mchar = str.ToCharArray(); int width =(int) str.Length * 14; System.Drawing.Bitmap images = new Bitmap(widt... 阅读全文
posted @ 2008-01-15 16:16 yangyi.com 阅读(171) 评论(0) 推荐(0)
  2008年1月11日
摘要: COLS="90,*" 垂直切割画面(如分左右两个画面),接受整数值、百分数, * 则代表占用剩余的空间。数值的个数代表分成的视窗数目且以逗号分隔。 frameborder="0" 设定框架的边框,其值只有 0 和 1 , 0 表示不要边框, 1 表示要显示边框。 border="0" 设定框架的边框厚度... 阅读全文
posted @ 2008-01-11 13:36 yangyi.com 阅读(3844) 评论(0) 推荐(0)
  2008年1月10日
摘要: 图片以3列形式显示 ' width=250px height=180px border="0"/> ... 阅读全文
posted @ 2008-01-10 16:27 yangyi.com 阅读(6523) 评论(1) 推荐(0)
摘要: 垂直滚动 新浪 早报网 苏州热线 博客园 CSDN技术社区 ... 阅读全文
posted @ 2008-01-10 10:28 yangyi.com 阅读(565) 评论(0) 推荐(0)