摘要: #region Parser /// /// Parser Analysis. /// /// [WebMethod] public bool Parser() { #region Initialization Variables string FileName, strXmlTemplateFolder... 阅读全文
posted @ 2009-02-16 17:13 litao6664 阅读(320) 评论(0) 推荐(0) 编辑
摘要: public string ChkSpelling(string word) { System.Type wordType = System.Type.GetTypeFromProgID("Word.Application"); object wd = System.Activator.CreateInstance(wordType); St... 阅读全文
posted @ 2009-02-16 17:12 litao6664 阅读(1043) 评论(1) 推荐(0) 编辑
摘要: { Int32 PageSize = 0; Int32 PageCount, RecCount, CurrentPage, Pages; bool isSorting = false; //True if the user is sorting a column int sortColumn; //The column number the user is ... 阅读全文
posted @ 2009-02-16 17:10 litao6664 阅读(396) 评论(0) 推荐(0) 编辑
摘要: insert into failurelog (ErrorMessage,[type],date) select ErrorMessage,[type],date from failurelog 阅读全文
posted @ 2009-02-16 17:09 litao6664 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1.简单数据绑定定 2.数据源控件 控件名 控件描述 SqlDataSource 一切支持SQL语句的数据源控件 AccessDataSource Access数据源控件 XmlDataSource ... 阅读全文
posted @ 2009-02-16 17:05 litao6664 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Default.aspx Three Join Union Form WeiZhi ... 阅读全文
posted @ 2009-02-16 17:04 litao6664 阅读(570) 评论(0) 推荐(0) 编辑
摘要: CREATE PROCEDURE northwind_OrdersPaged ( @PageIndex int, @PageSize int ) AS BEGIN DECLARE @PageLowerBound int DECLARE @PageUpperBound int DECLARE @RowsToReturn int -- First set the rowcount... 阅读全文
posted @ 2009-02-16 17:03 litao6664 阅读(119) 评论(0) 推荐(0) 编辑
摘要: CTRL + SHIFT + B生成解决方案 CTRL + F7 生成编译 CTRL + O 打开文件 CTRL + SHIF... 阅读全文
posted @ 2009-02-16 17:00 litao6664 阅读(243) 评论(0) 推荐(0) 编辑
摘要: HTML CODE Customer Pager ... 阅读全文
posted @ 2009-02-16 16:58 litao6664 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 在 应用程序开发中,我们会经常遇到把从数据源动态取回的数据用统计图表现出来,在Microsoft .NET Framework出现之前,我们采取的方法主要是编写组件来完成这一任务。现在,利用Microsoft .NET Framework提供的丰富的GDI+类和对象可以很轻松地实现这一功能。在本文中,我们就来看看在ASP.NET中如何动态创建常用的柱状图和饼图。 数据源有许多种,在本文里我们就以数... 阅读全文
posted @ 2009-02-16 16:56 litao6664 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.与的区别: 答:是在程序执行时调用,是在DataBind()方法之后被调用 2.控件接收哪些类型数据? 答: 接收Bind的控件,一般有DropDownList,DataList,DataGrid,ListBox这些集合性质的控件,而被捆绑 的主要是 ArrayList(数组),Hashtable(哈稀表),DataView(数据视图),DataReader这四个,... 阅读全文
posted @ 2009-02-16 16:54 litao6664 阅读(102) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebPart... 阅读全文
posted @ 2009-02-16 16:53 litao6664 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1. 打开新的窗口并传送参数: 传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数: string a = Request.QueryString("id"); string b = Request.Q... 阅读全文
posted @ 2009-02-16 16:50 litao6664 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 如果在程序中用到word或者excel服务的时候,默认情况下是不开启的。可能你在调试环境下不会出问题,如果是客户端访问就会出现权限不够的问题。即是IIS帐户没有调用服务器端Excel等服务的权限。以Excel为例,word同理,环境:win2003。 思路就是找到组件服务,excel应用程序属性设置,交互式用户,然后在权限那里加入network service账号的权限,其他系统是asp.net... 阅读全文
posted @ 2009-02-16 16:41 litao6664 阅读(384) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Web; namespace ConsoleApplication1 { class Program { static void Main(string[] args) ... 阅读全文
posted @ 2009-02-16 16:32 litao6664 阅读(119) 评论(0) 推荐(0) 编辑
摘要: css 阅读全文
posted @ 2009-02-16 16:05 litao6664 阅读(211) 评论(0) 推荐(0) 编辑
摘要: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">DY Css Layout 三行两列之左栏固定右栏自适应 阅读全文
posted @ 2009-02-16 16:05 litao6664 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 后台using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;usin... 阅读全文
posted @ 2009-02-16 16:01 litao6664 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 前台:Test GridView 阅读全文
posted @ 2009-02-16 16:01 litao6664 阅读(87) 评论(0) 推荐(0) 编辑
摘要: ddlAddMaterielName.SelectedIndex = ddlAddMaterielName.Items.IndexOf(ddlAddMaterielName.Items.FindByValue(txtAddMaterielID.Text.Trim())); 阅读全文
posted @ 2009-02-16 16:01 litao6664 阅读(89) 评论(0) 推荐(0) 编辑