Skip to main content

Posts

Showing posts from March, 2012

How to Compare The Two data table Columns in C sharp

Q)I have one issue , my issue is 1)i want to compare the two data table columns in C sharp 2) if columns in first datatable matches with columns in second datatable 3) i want to copy those matched column data to another datatable please help me how to do it. By using  your code we can compare but  if the column matches with other i want to copy entire column data to another datatable . eg; datatable 1                                                  datatable 2 col1   col2   col3                                       ...