It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I am fetching data from database and i am showing it in multiple select box but i want to show location 1,3,5 items should be selected by default. How?
Bind the Listbox to the datasource. A google search will probably be helpful.
If you mean "how do I select specific items", then this so question will help.
In WPF, you can use the ListBox control.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In my online course I'm asked to put a label (lblQuestion with accelerator) and ComboBox on a form.
Putting a label and a combo box on a form is simple enough in VS 2010, but I am not sure what an accelerator is and how I use it?
For setting an accelerator you will use & character in front of the letter of your label, that you need to make available as an accelerator. See here: http://blog.csharphelper.com/2012/05/30/use-accelerators-on-labels-and-buttons-in-c.aspx for more details.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
When the user right clicks a DataGridView cell in my windows application it clears and fills the CheckedListBox with column header text. Then it shows a popup. Now how can I sort the items using what is checked? I want to sort on the same right click.
To sort the listbox, you need to write your own small code, which "tells" the program how to sort your data.
Please refer this tutorial
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can't find any information in Web, so is there any standard possibilities for creating search by columns in default WPF DataGrid?
Here is a good one for you.
But, there is no Standard easy way of doing this. I think the easiest way is writing your own method which hopefully would save your time and give you more flexibility.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Hey guys, can anyone tell me about Treeview in C# 2008. How to bind it with an Sql Database?
Check this Example and this downloadble one with Databinding
Tree View MSDN article: http://msdn.microsoft.com/en-us/library/d4fz6xk2%28v=vs.80%29.aspx
this is a tree example but databinding with Access.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Hai,
Am using DevExpress Tree List in C#.NET application .I want to add checkbox control in DevExpress XtraTree List.Please help
Thank you.
You should set the column's ColumnEdit property to an instance of the RepositoryItemCheckEdit class. For more details, please refer to
http://documentation.devexpress.com/#WindowsForms/CustomDocument5632
http://documentation.devexpress.com/#WindowsForms/CustomDocument5633