PC Review


Reply
Thread Tools Rate Thread

combobox binding problem - yet again !!

 
 
excelleinc.com
Guest
Posts: n/a
 
      18th Mar 2005
Hi all,

This is very frustrated, writing a code and every few days wasting couple of
hours on obvious bugs in framework.

I'm trying to bind combobox to a msde sql table and works fine.

Then I try to bind "SelectedValue" to different column, it works fine first
time, displays the date and then second time it messes up all my bindings. I
know that it works since I already have similar thing on another tab page.

I don't know if it has something to do with Tab control, or something else
but I have already wasted too much time and would like some help.

I'm more than 100% sure that the code is good.

Thanks,

Vlado


 
Reply With Quote
 
 
 
 
Richard Moore
Guest
Posts: n/a
 
      19th Mar 2005
Are you creating your bindings in the IDE at designtime or are you creating
them at runtime in code?

Try creating bindings manually ( runtime ) if you're not already.

If you need to refill the dataset that the combo is bound to then clear the
bindings after the fill and re-instate them again afterwards.

Also check that the table name hasn't changed the second time around. You
could try debugging using MyDataSet.WriteXML to view the contents of your
dataset the second time around. Then you can see if your dataset contains
tables with the correct name - or duplicate tables.


--
Richard Moore
---------------------------------------
Aquila Cybernetic Ltd
http://www.e-aquila.com
---------------------------------------
"excelleinc.com" <(E-Mail Removed)> wrote in message
news:uyc1Q7$(E-Mail Removed)...
> Hi all,
>
> This is very frustrated, writing a code and every few days wasting couple
> of hours on obvious bugs in framework.
>
> I'm trying to bind combobox to a msde sql table and works fine.
>
> Then I try to bind "SelectedValue" to different column, it works fine
> first time, displays the date and then second time it messes up all my
> bindings. I know that it works since I already have similar thing on
> another tab page.
>
> I don't know if it has something to do with Tab control, or something else
> but I have already wasted too much time and would like some help.
>
> I'm more than 100% sure that the code is good.
>
> Thanks,
>
> Vlado
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox Binding Problem =?Utf-8?B?R2lubw==?= Microsoft Dot NET Framework Forms 0 15th Sep 2006 03:27 PM
combobox binding problem Fanor Microsoft ADO .NET 3 28th Apr 2006 02:46 AM
Problem binding combobox to dataset Poonam Microsoft VB .NET 5 1st Mar 2005 02:18 PM
Problem getting value from combobox and late binding moondaddy Microsoft Dot NET Framework Forms 2 12th Sep 2004 02:38 PM
Combobox binding problem JezB Microsoft Dot NET Framework Forms 1 5th Apr 2004 05:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:40 AM.