Skip Navigation LinksHome > Categories > Code from a Category

Working with Data Bound Controls



User Name: codelecturer
Name: Mike Chauhan
Contact Me: www.datawebcoder.com/ContactUs.aspx
Home Page: www.datawebcoder.com
6 years of total IT experience including programming, application development, System Maintenance . 3 years of Experienced and expertise in .Net Framework VB, Visual Basic.Net, ASP.Net 2.0, 3.5 and AD... [More]
Viewed Times: 1568
Add Date: 11/12/2011
Here is some piece of code that shows how to working with Data Bound Controls.
You need to add these namespaces before using ADO.NET components. DataGrid Control
Add a datagrid control to a form and write the following code. Change your data source, table and column names if you're using different databases.

ListBox Control
Add a list box control to a form and add the following code to the form load event.

Combo Box
Just add a combo box to a form and add the following code:

Post a Comment

Name: (Optional)
Email: (Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Details**:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
 
    
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.