Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

DataGrdView - ComboBox cleared on sort

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pateras@gmail.com - 24 Mar 2008 19:39 GMT
I generate code to automatically create combo boxes to handle
relationships between tables:

http://pastebin.com/m59d8f5b0

The problem is, when I sort on any other column, the combo boxes all
get cleared. I've also noted that in doing so, I can no longer sort on
the column. I have a feeling that that might be related. Can anyone
tell me why the combo box
may be getting cleared and why I cannot sort based on the combo box
column? It has a value like the other columns.

I am happy to provide any more information as needed and would
appreciate any suggestions on how to resolve both issues.
pateras@gmail.com - 24 Mar 2008 19:58 GMT
"I've also noted that in doing so, I can no longer sort on
the column."

What I mean by this is that I cannot sort the column that has the
ComboBox lookup. I worded that improperly. I couldn't find a way to
edit my original post.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.