You must Sign In to post a response.
  • Category: .NET

    Setter property of combobox in winform

    Hi,
    If I use set property of any combobox in C# then I am not able to set the value of combobox at run time. How to set it?
    Application is winform.

    Thanks!

    -Sarang
  • #681230
    Please post your code here so that we can give proper solution.

  • #681236
    Hi,
    After setting value of combobox in property of combobox.You may have index code as below. try this I think It will help you

    comboBox1.SelectedIndex = comboBox1.Items.IndexOf("test1");

    Regards
    Rameshwar


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.