Binding Combobox

Posts filed under Binding Combobox

Binding Combobox Control With Multiple Columns of Database Table

Filed in ASP.NET, Desktop AppTags: , , , , ,

Previously we have discussed that how to bind Combo box control with Database Table’s column in WinForm. Today I will tell you that how to bind a Combo box control with multiple columns of a particular table. The way of binding is very simple. We are not writing extra code or not writing any complicated code to perform this task. Just in this article you will get what you are doing to perform this. Also we are fetching records in SqlDataReader and then binding multiple columns with Combo box Control. I have attached a project that will guide you to implement this task technically. Also I am attaching the coding of the page that will help you to learn the process.

Read the rest of this entry »

Bind Combobox with Data From Database in C#.NET WinForm

Filed in ASP.NET, Desktop AppTags: , , , , , , , , , , , , ,

A Combobox is a commonly used  Control in WinForm. It is a combination of a List Box and a single-line TextBox, allowing the user to either type a value directly into the control or choose from the list of existing options.

Sometime, We need to fetch the data from Database and bind data with Combobox Control, so that the list of data of the Combobox can be fetched from Database. Today I am going to show you how to bind a Combobox Control with SQL Server Database.

Read the rest of this entry »