hiya,
I'm using the latest llblGenPro and binding an entityCollection to a winforms 2.0 datagidView.
The entityCollection datasource is an sqlServer nchar(15) field.
I'm having trouble because the item in the datagridView contains a trailing space.
foreach (DataGridViewRow row in this.dgvDeliveryProducts.Rows)
{
TblDeliveryProductsEntity product = new TblDeliveryProductsEntity();
product = (TblDeliveryProductsEntity)row.DataBoundItem;
if (product != null)
{
string barCode;
barCode = txtBarcode.Text;
if (product.BarCode == barCode)
//can I "trim" the product.BarCode?
Many thanks,
yogi