Click here to Skip to main content
15,917,177 members
Home / Discussions / C#
   

C#

 
AnswerRe: Database question with c#. Pin
Not Active15-Sep-09 14:54
mentorNot Active15-Sep-09 14:54 
QuestionC# coding problem Pin
Jemami15-Sep-09 13:26
Jemami15-Sep-09 13:26 
QuestionRe: C# coding problem Pin
harold aptroot15-Sep-09 13:34
harold aptroot15-Sep-09 13:34 
AnswerRe: C# coding problem Pin
Jemami15-Sep-09 13:37
Jemami15-Sep-09 13:37 
GeneralRe: C# coding problem Pin
harold aptroot15-Sep-09 13:46
harold aptroot15-Sep-09 13:46 
GeneralRe: C# coding problem Pin
Jemami15-Sep-09 15:00
Jemami15-Sep-09 15:00 
GeneralRe: C# coding problem Pin
Jemami15-Sep-09 15:03
Jemami15-Sep-09 15:03 
GeneralRe: C# coding problem Pin
Luc Pattyn15-Sep-09 15:37
sitebuilderLuc Pattyn15-Sep-09 15:37 
QuestionThreads an Objects Pin
FJJCENTU15-Sep-09 12:27
FJJCENTU15-Sep-09 12:27 
AnswerRe: Threads an Objects Pin
Christian Graus15-Sep-09 12:36
protectorChristian Graus15-Sep-09 12:36 
GeneralRe: Threads an Objects Pin
FJJCENTU15-Sep-09 12:55
FJJCENTU15-Sep-09 12:55 
GeneralRe: Threads an Objects Pin
Christian Graus15-Sep-09 14:02
protectorChristian Graus15-Sep-09 14:02 
AnswerRe: Threads an Objects Pin
N a v a n e e t h15-Sep-09 16:48
N a v a n e e t h15-Sep-09 16:48 
AnswerRe: Threads an Objects Pin
carlecomm21-Sep-09 21:42
carlecomm21-Sep-09 21:42 
QuestionCombo Boxes and Database Binding Pin
mbangh15-Sep-09 12:08
mbangh15-Sep-09 12:08 
AnswerRe: Combo Boxes and Database Binding Pin
Christian Graus15-Sep-09 12:37
protectorChristian Graus15-Sep-09 12:37 
GeneralRe: Combo Boxes and Database Binding Pin
mbangh15-Sep-09 12:43
mbangh15-Sep-09 12:43 
AnswerRe: Combo Boxes and Database Binding Pin
Abhishek Sur15-Sep-09 13:00
professionalAbhishek Sur15-Sep-09 13:00 
AnswerRe: Combo Boxes and Database Binding Pin
N a v a n e e t h15-Sep-09 17:33
N a v a n e e t h15-Sep-09 17:33 
All you can do is to load the data source depending on the condition you need. I mean join TableOptions and TableProduct and load all the values if no record exist else load the selected record first. Once all loaded, bind it to dropdown.

Another method is to query TableProduct after you binded all values from TableOptions. If any value exist in TableProduct, get that value and make it as selected.


GeneralRe: Combo Boxes and Database Binding Pin
mbangh16-Sep-09 5:56
mbangh16-Sep-09 5:56 
AnswerRe: Combo Boxes and Database Binding Pin
carlecomm21-Sep-09 21:30
carlecomm21-Sep-09 21:30 
QuestionXML Data and Data Sets Pin
AndyASPVB15-Sep-09 10:19
AndyASPVB15-Sep-09 10:19 
AnswerRe: XML Data and Data Sets Pin
Ian Shlasko15-Sep-09 10:54
Ian Shlasko15-Sep-09 10:54 
GeneralRe: XML Data and Data Sets Pin
AndyASPVB15-Sep-09 11:39
AndyASPVB15-Sep-09 11:39 
GeneralRe: XML Data and Data Sets Pin
Ian Shlasko15-Sep-09 12:05
Ian Shlasko15-Sep-09 12:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.