系統公告
自由欄位
文章分類
- WRITER (2)
- .NET Framework (2)
- CSS (1)

- TOOLS (3)

- VIDEO (4)

- PC常見問題與應用工具 (2)

最近文章發表
好時光貼曆
最新的回應
- 黃肇龍:
光碟少量印刷,防水防刮... - 自動賺錢系統即將開盤:
創造全球多面向收入來源... - sdf:
http://www.... - 心情分享:
職業不分貴賤!傳播小姐... - 600元微型創業:
您好,不錯的BLOG,...
部落格
AD
人氣指數
當日人次:
累積人次:
累積人次:
搜尋此頻道內容
誰來我家
贊助商
其它資訊
本部落所刊登之內容,皆由作者個人所提供,不代表 yam天空部落 本身立場。
October 19, 2007
syntaxhighlighter TEST
部落格 貼 程式碼 測試
部落格 貼 程式碼 測試
555
private void cmdSort_Click(object sender, System.EventArgs e)
{
// In order for this procedure to work, the items contained in the array
// must support comparsion. This is accomplished by objects by implementing
// the IComparable interface.
// See the Customer object definition below for more information.
this.lblDataAfter.Text = "Data After Sort";
if (this.optstrings.Checked)
{
string[] strData = {"Joe Hasterman", "Ted Mattison", "Joe Rummel", "Brian Gurnure", "Doug Landal"};
Array.Sort(strData);
DisplayArrayData(strData, WhichListBox.BoxTwo);
}
else
{
Customer[] objData = {new Customer(3423, "Joe Hasterman"), new Customer(9348, "Ted Mattison"), new Customer(3581, "Joe Rummel"), new Customer(7642, "Brian Gurnure"), new Customer(2985, "Doug Landal")};
Array.Sort(objData);
DisplayArrayData(objData, WhichListBox.BoxTwo);
}
}
發表你的留言 (字數限制 最多 2000 個中文字)
yam天空部落 建置維護 © 1999~2009 webs-tv inc. All Rights Reserved.























