Click here to Skip to main content
15,902,445 members
Home / Discussions / C#
   

C#

 
Questionhow do I add a Footer to a datagrid (windows forms) Pin
mdolby11-Dec-03 11:25
mdolby11-Dec-03 11:25 
AnswerRe: how do I add a Footer to a datagrid (windows forms) Pin
Heath Stewart11-Dec-03 11:35
protectorHeath Stewart11-Dec-03 11:35 
GeneralRe: how do I add a Footer to a datagrid (windows forms) Pin
john ingram12-Dec-03 2:23
john ingram12-Dec-03 2:23 
Generalassembly versioning Pin
Dave Bryant11-Dec-03 11:05
Dave Bryant11-Dec-03 11:05 
GeneralRe: assembly versioning Pin
Heath Stewart11-Dec-03 11:31
protectorHeath Stewart11-Dec-03 11:31 
GeneralListView problem Pin
datainjector11-Dec-03 10:44
datainjector11-Dec-03 10:44 
GeneralRe: ListView problem Pin
Heath Stewart11-Dec-03 11:39
protectorHeath Stewart11-Dec-03 11:39 
GeneralRe: ListView problem Pin
datainjector12-Dec-03 7:52
datainjector12-Dec-03 7:52 
<br />
private void listView1_SelectedIndexChanged(object sender, System.EventArgs e)<br />
	{<br />
		if ( listView1.SelectedItems.Count > 0 )<br />
		{<br />
			codeComboBox.Text =   listView1.SelectedItems[0].SubItems[0].Text;<br />
			modNameTextBox.Text =    listView1.SelectedItems[0].SubItems[2].Text;<br />
			modAdd1TextBox.Text  =   listView1.SelectedItems[0].SubItems[3].Text;<br />
			modAdd2TextBox.Text = listView1.SelectedItems[0].SubItems[4].Text;<br />
			modCityTextBox.Text  = listView1.SelectedItems[0].SubItems[5].Text;<br />
			modPinTextBox.Text = listView1.SelectedItems[0].SubItems[6].Text;<br />
			modPhoneTextBox.Text  = listView1.SelectedItems[0].SubItems[7].Text;<br />
			modContactPersonTextBox.Text = listView1.SelectedItems[0].SubItems[1].Text;<br />
		}<br />
	<br />
	}<br />
<br />

Thats for the selected index....

<br />
private void codeComboBox_Leave(object sender, System.EventArgs e)<br />
	{<br />
		ClearSelected();<br />
		listView1.Items[index].Selected = true;<br />
}<br />

The index Varaible stores the index of the ID in the listView...

This only seams to execute once ...
GeneralRe: ListView problem Pin
Heath Stewart12-Dec-03 8:36
protectorHeath Stewart12-Dec-03 8:36 
GeneralUsing Dropdownlist in Datagrid Pin
t_m2002052111-Dec-03 9:29
t_m2002052111-Dec-03 9:29 
GeneralRe: Using Dropdownlist in Datagrid Pin
Heath Stewart11-Dec-03 10:35
protectorHeath Stewart11-Dec-03 10:35 
GeneralComboBox DropDown Pin
Shaun Becker11-Dec-03 7:32
Shaun Becker11-Dec-03 7:32 
GeneralRe: ComboBox DropDown Pin
Not Active11-Dec-03 7:58
mentorNot Active11-Dec-03 7:58 
GeneralRe: ComboBox DropDown Pin
Shaun Becker11-Dec-03 8:23
Shaun Becker11-Dec-03 8:23 
GeneralRe: ComboBox DropDown Pin
Heath Stewart11-Dec-03 10:31
protectorHeath Stewart11-Dec-03 10:31 
GeneralLooking for other controls in design-time Pin
f_popovic11-Dec-03 6:34
f_popovic11-Dec-03 6:34 
GeneralRe: Looking for other controls in design-time Pin
Heath Stewart11-Dec-03 10:23
protectorHeath Stewart11-Dec-03 10:23 
GeneralRe: Looking for other controls in design-time Pin
f_popovic12-Dec-03 0:17
f_popovic12-Dec-03 0:17 
GeneralRe: Looking for other controls in design-time Pin
Heath Stewart12-Dec-03 3:50
protectorHeath Stewart12-Dec-03 3:50 
GeneralRe: Looking for other controls in design-time Pin
f_popovic13-Dec-03 23:43
f_popovic13-Dec-03 23:43 
GeneralRe: Looking for other controls in design-time Pin
Heath Stewart14-Dec-03 5:36
protectorHeath Stewart14-Dec-03 5:36 
GeneralRe: Looking for other controls in design-time Pin
f_popovic14-Dec-03 21:33
f_popovic14-Dec-03 21:33 
GeneralApp.Config refresh Pin
RB@Emphasys11-Dec-03 5:10
RB@Emphasys11-Dec-03 5:10 
GeneralRe: App.Config refresh Pin
Guillermo Rivero11-Dec-03 7:17
Guillermo Rivero11-Dec-03 7:17 
GeneralRe: App.Config refresh Pin
Heath Stewart11-Dec-03 10:15
protectorHeath Stewart11-Dec-03 10:15 

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.