Results 1 to 2 of 2

Thread: DataSets In C sharp

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Location
    outerspace
    Posts
    126

    DataSets In C sharp

    This works in VB
    strFullName = ds.Tables(0).Rows(0).Item(0)

    However when I try this in C#
    FullName = ds.Tables[0].Rows[0] there is no Item property available what gives.

    In C# I have my dataset declared DataSet ds = new DataSet();
    "All those who wonder are not lost" -j.r.r tolkien

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Location
    outerspace
    Posts
    126
    I think this is the answer
    FullName = ds.Tables[0].Row[0][0].Tostring();
    "All those who wonder are not lost" -j.r.r tolkien

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