Click here to Skip to main content
15,905,912 members
Home / Discussions / C#
   

C#

 
AnswerRe: where did my toolbox form controlls go??? Pin
dazinith19-Jun-03 7:30
dazinith19-Jun-03 7:30 
GeneralManipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 5:53
Steve McLenithan19-Jun-03 5:53 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Dimitris Iliopoulos19-Jun-03 8:13
Dimitris Iliopoulos19-Jun-03 8:13 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 8:23
Steve McLenithan19-Jun-03 8:23 
GeneralRe: Manipulating Dataset coluns bound to datagrid Pin
Steve McLenithan19-Jun-03 8:36
Steve McLenithan19-Jun-03 8:36 
QuestionHow Timer works Pin
puppiesLover19-Jun-03 5:41
puppiesLover19-Jun-03 5:41 
AnswerRe: How Timer works Pin
Manster19-Jun-03 6:11
Manster19-Jun-03 6:11 
QuestionHow ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 5:10
Khang Nguyen19-Jun-03 5:10 
AnswerRe: How ow to alternate color on items of combo/list box, gurus? Pin
Manster19-Jun-03 6:28
Manster19-Jun-03 6:28 
GeneralRe: How ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 11:11
Khang Nguyen19-Jun-03 11:11 
GeneralFast image processing Pin
aeros19-Jun-03 4:50
aeros19-Jun-03 4:50 
QuestionWelcome dialog when app starts? Pin
Andrey Kalganov19-Jun-03 3:50
Andrey Kalganov19-Jun-03 3:50 
AnswerRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 3:56
dazinith19-Jun-03 3:56 
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 4:29
Jose Fco Bonnin19-Jun-03 4:29 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 4:49
dazinith19-Jun-03 4:49 
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 5:02
Jose Fco Bonnin19-Jun-03 5:02 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 5:06
dazinith19-Jun-03 5:06 
GeneralRe: Welcome dialog when app starts? Pin
Anonymous20-Jun-03 1:07
Anonymous20-Jun-03 1:07 
GeneralRe: Welcome dialog when app starts? Pin
dazinith20-Jun-03 7:46
dazinith20-Jun-03 7:46 
QuestionHow to tell if something is selected in my listbox? Pin
dazinith19-Jun-03 3:42
dazinith19-Jun-03 3:42 
i have a listbox and a button.. when you click on the button i want to remove what is selected in the listbox, but i need to be able to tell if something is selected in the box or not..
if (this.lvSDeduc.SelectedItems == null)
{	MessageBox.Show("You must select something to remove before clicking the remove button.");
	return;		}

ListViewItem objItem = this.lvSDeduc.SelectedItems[0];
this doesnt work, so when it gets to the SelectedItems[0] i crash since there is nothing selected.. any suggestions?

thanks in advance!



still a newb.. cut me some slack :P
-dz
AnswerRe: How to tell if something is selected in my listbox? Pin
Dimitris Iliopoulos19-Jun-03 3:48
Dimitris Iliopoulos19-Jun-03 3:48 
GeneralRe: How to tell if something is selected in my listbox? Pin
dazinith19-Jun-03 3:53
dazinith19-Jun-03 3:53 
AnswerRe: How to tell if something is selected in my listbox? Pin
Manster19-Jun-03 6:46
Manster19-Jun-03 6:46 
Generalmailing with crystal reports Pin
Roger Alsing18-Jun-03 23:01
Roger Alsing18-Jun-03 23:01 
QuestionDeclared delegates? Pin
Rocky Moore18-Jun-03 20:54
Rocky Moore18-Jun-03 20:54 

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.