Close (Not supported)
Closes a Recordset
Delete (Not supported)
Deletes a record or a group of records
Open (Not supported)
Opens a database element that gives you access to records in a table, the results of a query, or to a saved Recordset
Find(Not supported)
Searches for a record in a Recordset that satisfies a specified criteria
MoveFirst(Not supported)
Moves the record pointer to the first record
MoveNext(Not supported)
Moves the record pointer to the next record
MoveLast(Not supported)
Moves the record pointer to the Last record
Update (Not supported)
Saves all changes made to a single record in a Recordset object
UpdateBatch (Not supported)
Saves all changes in a Recordset to the database. Used when working in batch update mode
AbsolutePosition (Not supported)
Sets or returns a value that specifies the ordinal position of the current record in the Recordset object
VulpesPosted Oct 21, 2014, 3:51 PM
David SmithPosted Oct 21, 2014, 2:12 PM
Responding to your comment below
So are you saying there no other way to close or open a datatable in c sharp, similiar how it was done in visual basic 6.0, if so, can you add logic on the thread. I am documenting at the moment. We are upgrading from vb6 to c sharp on one of the projects. I am basically make a document that saids if you see this in the visual basic 6 code, do this in c sharp if that make sense. Leading them in a direction.
Also what about the commands below,
Update (Not supported)
Saves all changes made to a single record in a Recordset object
UpdateBatch (Not supported)
Saves all changes in a Recordset to the database. Used when working in batch update mode
AbsolutePosition (Not supported)
Sets or returns a value that specifies the ordinal position of the current record in the Recordset object
VulpesPosted Oct 21, 2014, 11:38 AM
This object will then generate the appropriate SQL INSERT, DELETE or UPDATE commands to write the changes back to the database.
David SmithPosted Oct 21, 2014, 10:39 AM
For example.
If I see recordset close property in vb6, what is the logic equivalent for a datatable in c sharp. Datatablr does not have a close property
Riddhi ValechaPosted Oct 21, 2014, 4:18 AM
You can load the records in GridView and use paging.
Refer-
http://www.aspsnippets.com/Articles/Paging-in-ASPNet-GridView-Example.aspx
--------
http://www.c-sharpcorner.com/UploadFile/rohatash/gridview-paging-sample-in-Asp-Net/
---
Hope this helps.
David SmithPosted Oct 21, 2014, 3:13 AM
I am putting a software document together. We are migrating from Visual Basic 6.0 to C sharp. They are commands in Visual Basic 6.0 that's not supported in C sharp. I listed the above command in Visual Basics 6.0 in the first thread. I basically want to know a sample logic in c sharp using a datatable with the visual basic command properties below. The commands below are not supported in c sharp. So what is the c sharp equivalent logic to the command below using a disconnected datatable?
We are moving from recordsets to datatable
Close, Open, Update, UpdateBatch, AbsolutePosition, Find, Delete, MoveFirst, MoveNext, MoveLast, in visual basic 6.0 using a disconnected dataset (Datatable)?
Riddhi ValechaPosted Oct 21, 2014, 2:50 AM
Move next and Previous...
--
Please explain your requirement again...