Tuesday, 23 July 2013

listbox in c# when bind with datatable

string pp=string.empty;

foreach (var list in cluster_list.SelectedItems)
{
DataRowView drv = (DataRowView)list;
string valueOfItem = drv["ColumnsName"].ToString();
pp = pp + valueOfItem + " ";

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...