I have been looking all weekend for this solution but cant seem to figure it out. I have a sql database, very small and simple. It is basically is a support database for taking service requests. (just a training for myself) I have a database view that i'm using to bring the information into my winform project.
I'm trying to figure out the best way to filter a gridview using the dropdown.
1. Is it possible to populate a RadDropDownButton with the Technician Name items from a sql database and then filter the records in a gridview?
2. Is it better to use a combobox although the dropdown seems to look cooler?
So I have a radform, drop a raddropdown and a gridview on the form... I can get the gridview to display records, I can get a combobox to show the technicians but I can only get the dropdown to display the first technician.
I have not been able to get any of the dropdowns or combobox's to filter the gridview.. anybody have any simple solutions that I may be missing?
I have tried several different ways, one such as this:
Both of these do not work for populating the fields...
Please excuse my noviceness... :)
I'm trying to figure out the best way to filter a gridview using the dropdown.
1. Is it possible to populate a RadDropDownButton with the Technician Name items from a sql database and then filter the records in a gridview?
2. Is it better to use a combobox although the dropdown seems to look cooler?
So I have a radform, drop a raddropdown and a gridview on the form... I can get the gridview to display records, I can get a combobox to show the technicians but I can only get the dropdown to display the first technician.
I have not been able to get any of the dropdowns or combobox's to filter the gridview.. anybody have any simple solutions that I may be missing?
I have tried several different ways, one such as this:
Public Class RadForm1 |
Private Sub RadForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load |
'TODO: This line of code loads data into the 'WODataset.WorkOrderMain' table. You can move, or remove it, as needed. |
Me.WorkOrderMainTableAdapter.Fill(Me.WODataset.WorkOrderMain) |
RadDropDownButton1.Items.Add(WODataset.WorkOrderMain.techFullNameColumn) |
RadComboBox1.Items.Add(WODataset.WorkOrderMain.techFullNameColumn) |
End Sub |
End Class |
Please excuse my noviceness... :)