Click here to Skip to main content
15,898,538 members

Comments by thalavi (Top 3 by date)

thalavi 20-May-12 1:39am View    
Reason for my vote of 4
good tip. my 4!!!
thalavi 29-Aug-11 1:30am View    
Thank U to reply,
Actually I want to concatenate two columns of a table and want to display in dropdownlist e.g:
dropdownlist.DataSource = ds.Tables[0];
dropdownlist.DataTextField = "datacolumnname1"+"|"+"datacolumnname2";
dropdownlist.DataValueField = "idfield";
dropdownlist.DataBind();
but error occurs
Now did you clear about my problem.
thalavi 26-Aug-11 5:47am View    
I want to display two columns such as""StundentName" + "StundentClass""of dataset in dropdownlist as a datatexfield