Click here to Skip to main content
15,891,981 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use SortedList.Item Property Pin
Member 9576656-Apr-04 5:57
Member 9576656-Apr-04 5:57 
GeneralRe: How to use SortedList.Item Property Pin
Heath Stewart6-Apr-04 6:07
protectorHeath Stewart6-Apr-04 6:07 
QuestionSuspendLayout() - Does this work? Pin
Tristan Rhodes5-Apr-04 13:56
Tristan Rhodes5-Apr-04 13:56 
AnswerRe: SuspendLayout() - Does this work? Pin
Heath Stewart5-Apr-04 17:37
protectorHeath Stewart5-Apr-04 17:37 
GeneralRe: SuspendLayout() - Does this work? Pin
Tristan Rhodes5-Apr-04 22:32
Tristan Rhodes5-Apr-04 22:32 
GeneraloleDbDataAdapter and dataSet Pin
DougW485-Apr-04 13:10
DougW485-Apr-04 13:10 
GeneralRe: oleDbDataAdapter and dataSet Pin
Heath Stewart5-Apr-04 17:29
protectorHeath Stewart5-Apr-04 17:29 
GeneralRe: oleDbDataAdapter and dataSet Pin
MeterMan5-Apr-04 23:14
MeterMan5-Apr-04 23:14 
Doug:
I had the same problem with this in my program as far the the combobox is concerned. What i did was the following after a search.

C#
dataset.Movie.Clear(); //clear your dataset
oleDbDataAdapter1.Fill(dataset); //refill your dataset
if ( dataset.Movie.Count>0) // check to see if the dataset is empty
{
 comboBox1.Text=dataset.Movie[0].Title; // I have just titles in my combobox
}
else
{
 comboBox1.Text="Sorry Jack No Data is in the Database!";
 comboBox1.Enabled=false; // you can later enable it when you have data
}


Hope this helps ya


Win32newb
"Making windows programs worse than they already are"
Generalassembly's dll extension Pin
Anonymous5-Apr-04 11:09
Anonymous5-Apr-04 11:09 
GeneralRe: assembly's dll extension Pin
Dave Kreskowiak5-Apr-04 11:25
mveDave Kreskowiak5-Apr-04 11:25 
GeneralRe: assembly's dll extension Pin
Heath Stewart5-Apr-04 11:34
protectorHeath Stewart5-Apr-04 11:34 
GeneralRe: assembly's dll extension Pin
Anonymous5-Apr-04 13:16
Anonymous5-Apr-04 13:16 
GeneralRe: assembly's dll extension Pin
Heath Stewart5-Apr-04 17:18
protectorHeath Stewart5-Apr-04 17:18 
GeneralRe: assembly's dll extension Pin
CWIZO6-Apr-04 2:47
CWIZO6-Apr-04 2:47 
GeneralRe: assembly's dll extension Pin
Heath Stewart6-Apr-04 2:52
protectorHeath Stewart6-Apr-04 2:52 
QuestionCatch Windows KeyPress Events? Pin
Verdant1235-Apr-04 9:32
Verdant1235-Apr-04 9:32 
AnswerRe: Catch Windows KeyPress Events? Pin
LongRange.Shooter5-Apr-04 9:43
LongRange.Shooter5-Apr-04 9:43 
AnswerRe: Catch Windows KeyPress Events? Pin
Heath Stewart5-Apr-04 9:50
protectorHeath Stewart5-Apr-04 9:50 
GeneralRe: Catch Windows KeyPress Events? Pin
Verdant1235-Apr-04 10:27
Verdant1235-Apr-04 10:27 
GeneralRe: Catch Windows KeyPress Events? Pin
Heath Stewart5-Apr-04 10:43
protectorHeath Stewart5-Apr-04 10:43 
GeneralRe: Catch Windows KeyPress Events? Pin
Verdant1235-Apr-04 12:36
Verdant1235-Apr-04 12:36 
QuestionMouseHover taking over one minute? Pin
LongRange.Shooter5-Apr-04 8:55
LongRange.Shooter5-Apr-04 8:55 
AnswerRe: MouseHover taking over one minute? Pin
leppie5-Apr-04 9:34
leppie5-Apr-04 9:34 
GeneralRe: MouseHover taking over one minute? Pin
LongRange.Shooter5-Apr-04 9:40
LongRange.Shooter5-Apr-04 9:40 
AnswerRe: MouseHover taking over one minute? Pin
Heath Stewart5-Apr-04 9:44
protectorHeath Stewart5-Apr-04 9:44 

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.