Click here to Skip to main content
15,894,907 members
Articles / Programming Languages / Visual Basic

how to add 'select ' to a Combo box item which has binded with a data table

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
5 May 2012CPOL 2.1K  
how to add new item 'select' to combo box on top selected, which has binded as uisng the following code. private void BindCombo() { DataTable dataTable = GetDataTable(); comboBox1.DisplayMember = "Name"; ...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
5 May 2012jagadeesh kumar adabala
private void BindCombo() { DataTable dataTable = GetDataTable(); DataRow row = dataTable.NewRow(); row["Code"] = "None"; row["Name"] = "None"; dataTable.Rows.InsertAt(row, 0); ...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions