DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Dataset Question

  1. #1
    Join Date
    Jul 2004
    Posts
    366

    Dataset Question

    Ok, I have a form level dataset. I added records to the dataset using the dataadapter.fill method. For example, I added the data in a click event for a listbox. Then I'm getting the value for a certain item in the dataset (UserName). Whenever I leave that event by calling a function or sub the UserName is changed and I'm not telling it to change. What am I doing wrong? I can't see it!

    Before Sub Call: ds.Tables("Table").Rows(0).item("UserName") will equal "Name1".

    When I leave the click event, ds.Tables("Table").Rows(0).item("UserName") will equal "Name2". Not sure why?

    Any Ideas?

    jb

  2. #2
    Join Date
    May 2004
    Location
    Duluth MN
    Posts
    353
    What are you doing in the click event?

    ...joe

Similar Threads

  1. Dataset Question
    By jcb1269 in forum .NET
    Replies: 1
    Last Post: 10-02-2006, 10:48 AM
  2. Dataset Question
    By jcb1269 in forum .NET
    Replies: 2
    Last Post: 09-29-2006, 09:55 AM
  3. Replies: 1
    Last Post: 01-12-2006, 07:53 PM
  4. DataSet question
    By Alex in forum .NET
    Replies: 0
    Last Post: 05-29-2002, 05:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center