2005年3月11日

將金額的小寫轉換成大寫(VB.NET)....

摘要: Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() ... 阅读全文

posted @ 2005-03-11 18:56 封起De日子 阅读(147) 评论(0) 推荐(0) 编辑

TreeView 的應用...

摘要: TreeView的使用: 我們用一個例子來說明TreeView 的使用,這個例子要實現的效果是這樣的,在Form 上這樣幾個控件,一個DataTimePicker ,兩個TextBox,一個DataGrid,一個TreeView,和一個Button。首先我們選擇日期,... 阅读全文

posted @ 2005-03-11 11:09 封起De日子 阅读(133) 评论(0) 推荐(0) 编辑

2005年3月1日

實現DataGrid 我分頁的多條記錄的選擇....

摘要: 本文參見孟子e章的>C#版http://dotnet.aspx.cc/ShowDetail.aspx?id=F43AF9A5-2C2E-4AA6-E976-21E9569F5A8A下面是我采用vb.net寫的...前台頁面部分 : DataGrid_1.aspx DataGrid_1 ... 阅读全文

posted @ 2005-03-01 21:24 封起De日子 阅读(119) 评论(0) 推荐(0) 编辑

在.Net中調用.exe 程序

摘要: 可以通process 類和 ProcessStartInfo 類來實現...如: Dim myProcess As New Process myProcess.StartInfo.FileName = "Notepad.exe" myProcess.StartIn... 阅读全文

posted @ 2005-03-01 16:44 封起De日子 阅读(124) 评论(0) 推荐(0) 编辑

2005年2月16日

在DataGrid中將RowHeader 加上文字...

摘要: 1、新建一個工程… 2、在工程內添加一個Form…. 3 、在Form 上建一拖建一個DataGrid 和一個 Button.... 代碼部分: Imports System.Drawing.Graphics Imports System.Drawing.Font Imports System... 阅读全文

posted @ 2005-02-16 19:09 封起De日子 阅读(202) 评论(0) 推荐(0) 编辑

2005年1月19日

ComboBox,DateTimePicker在DataGrid 中的運用(C#)...

摘要: 要想在DataGrid中運用ComboBox,DateTimePicker,我可以對System.Windows.Forms.DataGridColumnStyle進行重寫來做到.... (VB.NET部分請點擊) 一、將ComboBox綁定與DataGridColumnStyle ,然後對Dat... 阅读全文

posted @ 2005-01-19 11:27 封起De日子 阅读(129) 评论(0) 推荐(0) 编辑

ComboBox,DateTimePicker在DataGrid 中的運用(VB.NET)...

摘要: 要想在DataGrid中運用ComboBox,DateTimePicker,我可以對System.Windows.Forms.DataGridColumnStyle進行重寫來做到....(C#部分請點擊)一、將ComboBox綁定與DataGridColumnStyle ,然後對DataGridC... 阅读全文

posted @ 2005-01-19 10:23 封起De日子 阅读(150) 评论(0) 推荐(0) 编辑

2005年1月13日

DataTable用中使用Compute 实现简单的DataTable数据的统计.....

摘要: 調用格式: object DataTable.Compute(string expression,string filter); 參數:expression:要計算的表達式filter:要計算表達式的過濾條件例:(C#) object objSum=DataTable.Compute... 阅读全文

posted @ 2005-01-13 20:02 封起De日子 阅读(141) 评论(0) 推荐(0) 编辑

2005年1月11日

datagrid 的樣式表(DataGridTableStyle)應用...

摘要: 首先 我們先定一個 datatable 和 一個datarow Private idtb_temp As New DataTable Private idrw_row As DataRow private sub GetDataTable() idtb_temp.Column... 阅读全文

posted @ 2005-01-11 21:32 封起De日子 阅读(135) 评论(0) 推荐(0) 编辑

2005年1月10日

關於 和 用法的個人理解...

摘要: 首先說明的以前asp的用法,在asp.net也實用,是asp.net中推出的用法,asp中未用這種用法. 舉個例子: 如在後台中 form.vb 中我定義了一個變量(要全局的) public istg_xo as string="ABC" ... 阅读全文

posted @ 2005-01-10 11:22 封起De日子 阅读(110) 评论(0) 推荐(0) 编辑

导航