Results 1 to 5 of 5

Thread: [RESOLVED] Trouble declareing a binding source

  1. #1

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Resolved [RESOLVED] Trouble declareing a binding source

    I am converting a program from vb.net to c#.net and im having a few hickups


    im trying create two bindingsource s

    but the compiler seems not to like invoicebindingsource = new BindingSource();

    even though that was pretty close to an example i found on the msdn


    i really appreshate any help you can give me.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Trouble declareing a binding source

    Show some code.

  3. #3

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Re: Trouble declareing a binding source

    invoicebindingsource = new BindingSource();

    is what i cant get to work in c#

    in vb it would be

    Dim invoicebindingsource As New BindingSource

  4. #4
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Trouble declareing a binding source

    Quote Originally Posted by Crash893
    invoicebindingsource = new BindingSource();

    is what i cant get to work in c#

    in vb it would be

    Dim invoicebindingsource As New BindingSource
    In C#, it should be:
    Code:
    BindingSource invoicebindingsource = new BindingSource();
    Show Appreciation. Rate Posts.

  5. #5

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Re: Trouble declareing a binding source

    crap i knew it was something easy

    sorry about that

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