Results 1 to 2 of 2

Thread: How to empty datarepeater

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2010
    Posts
    12

    How to empty datarepeater

    Hey guys,

    im trying to empty a datarepeater control because when the user selects the button twice it throws an error about double binding to the same control. anyone know how to do this properly?

    i tried setting the datasouce to nothing and stating databindings.clear() but still didnt work

    anyone know off hand?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How to empty datarepeater

    Can you show us the code that's causing the exception to be thrown? I'll wager that there's an issue with that code and what you're asking for would be a workaround rather than a solution.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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