I want to compare two different table columns (ID) if the both id's are same i want to insert Location Name Having in the first table to second table
Table 1
-------
Id Name
---------
1 Hyd
2 Banglore
---------
Table 2
-------
Id Name
-------
1
2
From the first table id and second table id if both are equal i want to insert name column in the second column which existed in the same id row Using C# Help me

==), you can conditionally run code based on that comparison with a conditional blockif (someCondition) { ... }, you can connect to the database in lots of different ways. What have you tried and what isn't working?