how to ?
C#
3
Posts
3
Posters
0
Views
1
Watching
-
as in VB 6.0 we have recordset.movelast what is it in asp.net using C# where database is sql server 2005?
-
as in VB 6.0 we have recordset.movelast what is it in asp.net using C# where database is sql server 2005?
The SqlDataReader has no such method, please take a look at this below: SqlDataAdapter s = new SqlDataAdapter("...sql...", Conn); DataTable dt = new DataTable(); ; s.Fill(dt); DataRow dr = dt.Rows[dt.Rows.Count - 1]; Hope it's usefull for you!
Regards, Dealon Impossible is nothing!