DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2004
    Posts
    364

    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, 06:53 PM
  4. DataSet question
    By Alex in forum .NET
    Replies: 0
    Last Post: 05-29-2002, 05:38 PM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links