I have this code :
myObjects ps = new myObjects();
myDD.DataSource = ps;
myDD.DataTextField = "Title";
myDD.DataValueField = "ItemID";
myDD.DataBind();
that add a Text/Value pair values to a DropDownList.
I’d like to add these valus trimming it (so remove empty space first and in the end).
Is it possible on #C/.NET?
if ps is a DataTable, you should be able to do