|
|
|
|
|
|
April 2004 - Posts
Automatically building SQL Query
Tuesday, April 13, 2004 1:52 AM
Automatically building SQL QuerySystem.Data.SqlClient.SqlCommandBuilder m = new System.Data.SqlClient.SqlCommandBuilder(this.sqlDataAdapter1);
System.Windows.Forms.MessageBox.Show(m.GetInsertCommand().CommandText);
System.Windows.Forms.MessageBox.Show(m.GetUpdateCommand().CommandText);
Read More
Hashtable (Performance)
Friday, April 02, 2004 12:39 AM
Hashtable is to arrange a set of keys in an array , which will improve the performance especially you need to access all those keys frequently.Hashtable a = new Hashtable();a.Add("Name", "Ting Choo Chiaw");a.Add("Age", "28");Console.WriteLine(a["Name"].ToString());Just
Read More
|
|
|
|