上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 107 下一页
摘要: Inherits System.Windows.Forms.Form Dim DS1 As New System.Data.DataSet Dim DS2 As New System.Data.DataSet Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim MyCommand As System.Data.OleDb.OleDbDataAdapter Dim MyConnection As System.Data.Ole 阅读全文
posted @ 2004-10-25 10:53 leonardleonard 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Excel.Application myExcel=new Excel.Application();myExcel.Application.Workbooks.Add(true);myExcel.Visible=true;Excel.Worksheet worksheet=(Excel.Worksheet)myExcel.ActiveSheet;Excel.Range rH = worksheet.get_Range("A1","A3");rH.Merge(0);myExcel.Cells[1,1]="赋值"; 阅读全文
posted @ 2004-10-25 10:51 leonardleonard 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 作者:未知 请与本人联系1、原理:发布使用水晶报表的项目需要包含三种组件:报表(*.rpt)、模块(*.msm)、运行库(*.msm),这些模块文件是在 C:\Program Files\Common Files\Merge Modules\ 目录里面。(1)报表(*.rpt)用户编程时创建的水晶报表文件。(2)模块(*.msm)Managed.msm该模块包含了CR for VS .NET 的管理模块,如 CrystalDecisions、CrystalReports.Engine.DLL、CrystalDecisions.Web.DLL, 和 CrystalDecisions.Window 阅读全文
posted @ 2004-10-25 10:49 leonardleonard 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 秋水无恨 asp.net Calendar DayNameFormat Globalization DayNames http://www.csdn.net/develop/Read_Article.asp?id=15715Calendar的DayNameFormat,如FirstLetter ,FirstTwoLetters ,Full ,Short 但是争对英文而言的,无法进行自己的格式化,所以我就像通过修改DateTimeFormatInfo的DayNames来实现,如System.Globalization.DateTimeFormatInfo.CurrentInfo.DayNames 阅读全文
posted @ 2004-10-25 10:47 leonardleonard 阅读(101) 评论(0) 推荐(0) 编辑
摘要: % @ Page Language="C#" % % @ Import Namespace="System.Data" % % @ Import Namespace="System.Data.OleDb" % Script Language="C#" Runat="Server" /* Create By 飞刀 http://www.aspcn.com 2001-7-25 01:44 Support .Net Framework Beta 2 */ OleDbConnection MyConn; int PageSize,RecordCount,PageCo 阅读全文
posted @ 2004-10-25 10:46 leonardleonard 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Create three .aspx filesTreeViewDataSet.aspx%@ import Namespace="Microsoft.Web.UI.WebControls" %%@ Register TagPrefix="IE" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %htmlheadtitleTreeViewDataSet.aspx/title/headbodyform runat="Server"IE:TreeVi 阅读全文
posted @ 2004-10-25 10:46 leonardleonard 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1.% Response.WriteFile ("Yourfile.inc") % 2.Server.Execute("Yourfile.inc") 阅读全文
posted @ 2004-10-25 10:45 leonardleonard 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 作者:无间道的博客http://www.cnblogs.com/wangsaokui/articles/10031.html怎样把 DataGrid 存放在 ViewState 中的无用数据(有时候确实如此)卡掉,大家知道,一般而言DataGrid在ViewState中会存放表格中的所有数据,这样会导致ViewState非常大;好比就这个论坛而言,光是ViewState就占了65k之多,多浪费啊。   如果只是简单的将DataGrid的EnableViewState设置为false,那么许多事件,如排序、换页等都不会触发,那么岂不是得不偿失?其实在DataGrid中,有一个用来呈现数据的子控件 阅读全文
posted @ 2004-10-25 10:42 leonardleonard 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Embedded RealOne Player ControlsUsing EMBED and OBJECT TagsImageWindowNote: Only one OBJECT tag on the page requires a SRC parameter. In contrast, each EMBED tag requires an identical SRC parameter. For both OBJECT and EMBED, the optional AUTOSTART parameter is needed in only one tag on 阅读全文
posted @ 2004-10-25 10:40 leonardleonard 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1.this.TextBox1.Attributes.Add("OnKeyPress","scriptif keycode==13 keycode=9; return false;/script");2.input type='text' onkeydown="if (event.keyCode ==13) event.keyCode =9;" 阅读全文
posted @ 2004-10-25 10:38 leonardleonard 阅读(281) 评论(0) 推荐(0) 编辑
上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 107 下一页