Setting unique key in DataTable

  • Thread starter Thread starter Karunakararao
  • Start date Start date
K

Karunakararao

Hi All,

Iam using datatable in my C# application. My problem with the
datatable is that when i tried to bind the same column name to a datatable
it is throwing error that the names already exists in the datatable.Is there
any way to set unique key to the datatable so that it can accept same column
name.

Thanks,
Venu.
 
Can you show us an example (code snippet) on what you are doing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top