3、代碼中使用DataSet示例:CC_RecordTableAdapter adapter=new CC_RecordTableAdapter();如何得知Adapter的類名?選中DataSet中下半部分的Adapter,Name屬性就是類名。需要右鍵點(diǎn)擊類名->解析 4、取得所有的數(shù)據(jù):adapter.GetData(),例子程序:遍歷顯示所有數(shù)據(jù),i<adapter.GetData().Count;adapter.GetData()[i].Age。
www.dbjr.com.cn/article/361...htm 2025-6-7