Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
new datagridview from another 2
Shovan Saha
Sep 13 2017 11:07 AM
157
Reply
DataTable dt3 = new DataTable();
dt1.Columns.AddRange(new DataColumn[3] { new DataColumn("Sl"), new DataColumn("SoinikNo1"), new DataColumn("Rank1") });
dt.Columns["Id"].AutoIncrement = true;
dt.Columns["Id"].AutoIncrementSeed = 1;
dt.Columns["Id"].AutoIncrementStep = 1;
dataGridView3.DataSource = dt3;
I want to make dataGridView3 from dataGridView1 and dataGridView2. I want the column SoinikNo1 from datagridview2 and the Rank1 cell value from datagridview1 if SoinikNo from datagridview1 and datagridview2 is same. Please give sample code or example that I can understand.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
i want to display data without save in database whatever i
Transfer Data from DGV of Form1 to Crystal Report of Form2