如何取得下一记录某一字段的值
初学者请教
其中代码:
string sqlstr = "select * from table ";
OleDbDataAdapter oainfo = new OleDbDataAdapter(sqlstr, con);
DataSet ds = new DataSet();
oainfo.Fill(ds, "t_lb ");
string[] arylist=new string[ds.Tables[ "t_lb "].Rows.Count];
for (int i = 0; i < ds.Tables[ "t_lb "].Rows.Count; i++)
{
????//准备将每一行的lb字段内容赋给arylist[i],赋值后将指向下一条记录
}
程序语句怎么写???请帮忙
[解决办法]
arylist[i]=ds.Tables[ "t_lb "].Rows[i][ "lb "]