加入參考 Imports System.Text.RegularExpressions Dim text1 As String = ”A,B,C,D,E” Dim regex1 As New Regex(“[,]“) MessageBox.Show(regex1.Matches(text1).Count.ToString)… 更多 →
Minying's Blogminying wrote 10 months ago: 加入參考 Imports System.Text.RegularExpressions Dim text1 As String = ”A,B,C,D,E” Dim … more →
minying wrote 10 months ago: 有些時候需要動態去產生一些DataSet,DataTable,DataColumn,DataRow,並將資料填入DatatRow中,可使用程式碼的方式來建立。以下做個小小的使用記錄。 ‘宣 … more →
minying wrote 11 months ago: DataSet宣告於全域變數時(宣告在所有程序的外層),DataAdapter.Fill後造成DataSet中的Table資料重複,所以在Fill資料前,應先判別Dataset的Table是否存在!若 … more →
minying wrote 11 months ago: 假如 MDB 檔在 Access 2003 中的 “工具 | 安全性 | 設定資料庫密碼”,則 VB.NET 透過 OleDbConnection 的連線參數必須加上 Jet … more →
minying wrote 1 year ago: ADO Connection String Samples This page contains sample ADO connection strings for ODBC DSN / DSN-Le … more →
minying wrote 1 year ago: VB.Net 如何存取 xBase / FoxPro 資料庫 << 使用OleDb >> Imports System.Data.OleDb Dim strCn A … more →
minying wrote 1 year ago: VB.NET用程式建立 Paradox ( *.db ) 資料庫檔案 ‘指定 Paradox 驅動程式 ( 連線字串 ) Dim drv As String = “Dr … more →
kuanglian2000 wrote 1 year ago: DataSet讀取XML File,請用ReadXML的方法。 DataSet存成XML File,請用WriteXML的方法。 DataSet物件亦能快速存成XmlDataDocument的物件。 … more →