2006年3月28日

摘要: 偶然一个机会遇到mcisoft的navision,有点兴趣,最近正在研究,不知道有没有高人可以指教一下我,一个人摸索进度太慢了. 阅读全文
posted @ 2006-03-28 20:50 多铭 阅读(562) 评论(1) 推荐(0)

2006年3月20日

摘要: 控制弹出页面大小:function openScript(url, width, height){ var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=no,scrollbars=no,menubar=no,status=yes' ); }显示标记:Server.Ht... 阅读全文
posted @ 2006-03-20 14:48 多铭 阅读(835) 评论(0) 推荐(0)
 
摘要: 前台:<formid="upload"method="post"encType="multipart/form-data"runat="server"><tableclass="border"id="uploadtable"height="99%"cellSpacing="0"cellPadding="0"width="98%"align="center"border="0"ru... 阅读全文
posted @ 2006-03-20 14:20 多铭 阅读(321) 评论(0) 推荐(0)
 
摘要: using System.Data;读web.config:string str_webconfig = Server.MapPath("Web.config");DataSet dsxml = new DataSet();dsxml.ReadXml(str_webconfig);newsname.Text = dsxml.Tables[1].Rows[0][1].ToString();newsu... 阅读全文
posted @ 2006-03-20 13:05 多铭 阅读(749) 评论(0) 推荐(0)
 
摘要: Response.Write("<script>top.window.location.href('index.aspx')</script>"); 阅读全文
posted @ 2006-03-20 12:57 多铭 阅读(1163) 评论(1) 推荐(0)
 
摘要: private void dgrp_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e){if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { Label g=... 阅读全文
posted @ 2006-03-20 12:53 多铭 阅读(256) 评论(0) 推荐(0)
 
摘要: javascript代码:function select_deselectAll(chkVal,idVal){ var frm = document.forms[0]; for (i=0; i<frm.length; i++) { if (idVal.indexOf ('CheckAll') != -1) { if(chkVal == true) { frm.elements[i].ch... 阅读全文
posted @ 2006-03-20 12:50 多铭 阅读(392) 评论(0) 推荐(0)
 
摘要: <td><inputname="username"size="10"onMouseOver="this.style.backgroundColor='#E5F0FF';"onMouseOut="this.style.backgroundColor='';"></td> 阅读全文
posted @ 2006-03-20 12:37 多铭 阅读(590) 评论(0) 推荐(0)
 
摘要: using System.Configuration;using System.Data.OleDb ;using System.Data .SqlClient ;using System.Data ;///<add key="msolepath" value="Provider=SQLOLEDB.1;DataSource=(local);Initial Catalog=XXX;uid=zm... 阅读全文
posted @ 2006-03-20 12:08 多铭 阅读(303) 评论(0) 推荐(0)
 
摘要: /// <summary>///验证/// </summary>/// ex:Validate(Session,this,1,2,pagename);///userid = DecryptCookie(Session["userid"].ToString(),1);///userpwd = DecryptCookie(Session["userpwd"].ToString(... 阅读全文
posted @ 2006-03-20 12:00 多铭 阅读(280) 评论(0) 推荐(0)