數據庫的檢索(20)

對數據庫中的數據索引,有兩種方式,即分別通過數據適配器DataAdapter或者數據閱讀器DataReader將數據讀取出來放在控件中顯示 出來或進行處理,一般DataReader配合DataCommand使用,主要是對DataReader實例化。 使用數據適配器DataAdapter讀取數據示例: protected void Button1_Click(object sender, Event
相關文章
相關標籤/搜索