Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
JokeRe: respose.redirect Pin
Xmen Real 1-Mar-08 2:28
professional Xmen Real 1-Mar-08 2:28 
GeneralRe: respose.redirect Pin
Christian Graus1-Mar-08 9:19
protectorChristian Graus1-Mar-08 9:19 
JokeRe: respose.redirect Pin
Guffa1-Mar-08 10:39
Guffa1-Mar-08 10:39 
QuestionDataset and Type Dataset Pin
Sachin Pawar29-Feb-08 23:00
Sachin Pawar29-Feb-08 23:00 
GeneralRe: Dataset and Type Dataset Pin
Christian Graus29-Feb-08 23:06
protectorChristian Graus29-Feb-08 23:06 
GeneralExport To Excel Pin
purushothamanv29-Feb-08 22:22
purushothamanv29-Feb-08 22:22 
GeneralRe: Export To Excel Pin
pmarfleet29-Feb-08 23:15
pmarfleet29-Feb-08 23:15 
Questiondisplaying a particular comboBox value Pin
Saira Tanwir29-Feb-08 21:10
Saira Tanwir29-Feb-08 21:10 
hello friends,

i have some values displayed in a comboBox. the selected value is stored in a variable. now the logic is this that when a button is pressed, the saved value of the combo Box is to be displayed in the combo Box. how do i accomplish this?
i have tried adding the value through the 'Items' property. it adds the value into the combolist but doesn't display it directly. i've also tried the comboBox.SelectedValue property but it still doesn't work. Sigh | :sigh:

<br />
private void back_button_Click(object sender, System.EventArgs e)<br />
	{<br />
		        comboBox1.SelectedValue = field_entries_array[x,3];<br />
						<br />
	}//end function<br />


reply soon plz.

Saira
GeneralRe: displaying a particular comboBox value Pin
yogesh_kumar_agarwal29-Feb-08 21:38
yogesh_kumar_agarwal29-Feb-08 21:38 
AnswerRe: displaying a particular comboBox value Pin
Saira Tanwir29-Feb-08 21:53
Saira Tanwir29-Feb-08 21:53 
GeneralRe: displaying a particular comboBox value Pin
yogesh_kumar_agarwal29-Feb-08 22:02
yogesh_kumar_agarwal29-Feb-08 22:02 
GeneralRe: displaying a particular comboBox value Pin
Saira Tanwir29-Feb-08 22:58
Saira Tanwir29-Feb-08 22:58 
Generalselect non-blank columns in DataTable Pin
Xmen Real 29-Feb-08 20:04
professional Xmen Real 29-Feb-08 20:04 
GeneralRe: select non-blank columns in DataTable Pin
Xmen Real 1-Mar-08 2:25
professional Xmen Real 1-Mar-08 2:25 
Generalwant to load a form in a new process Pin
FocusedWolf29-Feb-08 18:14
FocusedWolf29-Feb-08 18:14 
GeneralRe: want to load a form in a new process Pin
yogesh_kumar_agarwal29-Feb-08 18:40
yogesh_kumar_agarwal29-Feb-08 18:40 
GeneralRe: want to load a form in a new process Pin
Guffa29-Feb-08 21:52
Guffa29-Feb-08 21:52 
GeneralGeneral C# Question - GUI's Pin
JBAK_CP29-Feb-08 14:59
JBAK_CP29-Feb-08 14:59 
GeneralRe: General C# Question - GUI's Pin
Pete O'Hanlon29-Feb-08 15:05
mvePete O'Hanlon29-Feb-08 15:05 
GeneralRe: General C# Question - GUI's Pin
Thomas Stockwell1-Mar-08 17:00
professionalThomas Stockwell1-Mar-08 17:00 
GeneralAuto complete combo box Pin
baranils29-Feb-08 13:33
baranils29-Feb-08 13:33 
GeneralRe: Auto complete combo box Pin
DaveyM6929-Feb-08 14:15
professionalDaveyM6929-Feb-08 14:15 
GeneralRe: Auto complete combo box Pin
baranils29-Feb-08 20:47
baranils29-Feb-08 20:47 
GeneralRe: Auto complete combo box Pin
DaveyM6929-Feb-08 22:56
professionalDaveyM6929-Feb-08 22:56 
GeneralRe: Auto complete combo box Pin
baranils29-Feb-08 23:41
baranils29-Feb-08 23:41 

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.