Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
how to move the data from one gridview to another gridview
rashmi kc
Jul 20 2012 1:24 AM
5.8k
Reply
when i press the button1 all the data in the gridview should move to another gridview in windows form application
here s my code pls correct it....
here i am getting only blank grid in dataGridView2
private void button4_Click(object sender, EventArgs e)
{
foreach (DataGridViewColumn c in dataGridView1.Columns)
{
dataGridView2.Columns.Add(c.Clone() as DataGridViewColumn);
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
how to return string with out using global variable in C#.net
Triger one cell in Data grid trigers other same or other Data Grid