Hi,
Try this:
DBDataSource oDataSource;
this.oDataSource = (DBDataSource)oForm.DataSources.DBDataSources.Add("@TableName");
this.oDataSource.SetValue("U_Customer", 0, Conversions.ToString(Customer));
Hope it helps.
Thanks & Regards
Ankit Chauhan