Results 1 to 2 of 2

Thread: [RESOLVED] Dataset vs Recordset

  1. #1

    Thread Starter
    Hyperactive Member shirishdawane's Avatar
    Join Date
    Dec 2004
    Location
    Mumbai,India
    Posts
    363

    Resolved [RESOLVED] Dataset vs Recordset

    Hello Guys,

    This is my 1st Post in Vb.Net Forum so please kindly bare .

    From last week I started working on Vb.Net 2005 from Vb 6.0. Now I want to get the information that What is difference between Recordset of VB & Dataset of VB.Net ? Can I have value from dataset which we used to get from Vb recordset eg.
    VB Code:
    1. rs.Fields(0).Value
    . Actually I want to ask that whether I can get value from VB.Net dataset because when I try to write
    VB Code:
    1. MessageBox.Show(dsGetCostCenters.Tables(0).Rows(0).ToString)
    it gives me result "System.Data.DataRowCollection".

    So how to get value from dataset ?
    On Error GoTo http://www.vbforums.com

    Note :
    1) Please use [vbcode]your code goes in here [/vbcode] tags when posting VB code.
    2) Please mark thread as Resolved using the Thread Tools menu, if you got solution.

  2. #2

    Thread Starter
    Hyperactive Member shirishdawane's Avatar
    Join Date
    Dec 2004
    Location
    Mumbai,India
    Posts
    363

    Re: Dataset vs Recordset

    Resolved by myself when did deep search on Google:

    VB Code:
    1. MessageBox.Show(dsGetCostCenters.Tables(0).Rows(0).Item(0).ToString)
    On Error GoTo http://www.vbforums.com

    Note :
    1) Please use [vbcode]your code goes in here [/vbcode] tags when posting VB code.
    2) Please mark thread as Resolved using the Thread Tools menu, if you got solution.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width