今天在網上看到了關於vb.net的combobox添加資料的代碼(不是用內建的資料繫結),感覺不錯就轉載到自己的部落格上了 就用arraylist就可以了! 代碼可以這樣寫! arraylist mylist = new arraylist(); mylist.add (new dictionaryentry ("1","壞")); mylist.add (new dictionaryentry ("2","不好")); mylist.add (new dictionaryentry (
# grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this file# NOTICE: You do not have a /boot partition. This means that# all kernel and initrd paths are relative to /, eg.# root
create procedure procnameASdeclare @recount intselect @recount=count(id) from school--最關鍵在這句select @recount=count(id) from schoolselect @recount=select count(id) from school -- 錯誤:這裡就不再需要select了set @recount=count(id) from school --
NEWID 即GUID建立 uniqueidentifier 類型的唯一值。文法NEWID ( )傳回型別uniqueidentifier樣本A.對變數使用 NEWID 函數下面的樣本使用 NEWID 對聲明為 uniqueidentifier 資料類型的變數賦值。在測試該值前,將先列印 uniqueidentifier 資料類型變數的值。-- Creating a local variable with DECLARE/SET syntax.DECLARE @myid
如果你是一位網路應用開發人員,你在開發過程中肯定會使用到網路通訊協定分析器(network protocol analyzer), 我們也可以稱之為“嗅探器”。eEye 公司有一款很不錯的網路通訊協定分析器產品 “Iris”, 我一直使用它的 4.07 版本,由於其功能完備,一直沒有太多的關注其他同類軟體,但此版本不能工作在 Windows Vista 上,也不能對無線網路適配器進行分析,而我恰好要在 Vista 上做很多開發工作,又經常使用無線網路串連的膝上型電腦,Iris 4.07