How to prevent duplicate values from populating in listGrid
Posted: Wed Oct 23, 2013 8:23 am
hi,
I m fetching the list of values in a table which is related to product from the database..I need to prevent duplicate values from adding into the list of values displayed in the admin..
I have added unique constraint in the @Id column for the table data displayed..when i save the form, for each save i do i m getting an extra row created in the form..but i'm not sure where the duplicate values come from and how to remove it,,
I m fetching the list of values in a table which is related to product from the database..I need to prevent duplicate values from adding into the list of values displayed in the admin..
I have added unique constraint in the @Id column for the table data displayed..when i save the form, for each save i do i m getting an extra row created in the form..but i'm not sure where the duplicate values come from and how to remove it,,