Hello Sir, Can u tell me how to merge two tables(no relationship) in datagridview. I have used merge method of datasets but in vain

Recommended Answers

All 2 Replies

See your other post on this matter

hi gaurav

u can merge two dataset like

TempDS.Tables[0].Merge(TargetDT.Tables[1]);
datagridview1.DataSource = TempDS.Tables[0];

use these code and let me know

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.