Click here to Skip to main content
15,896,497 members
Home / Discussions / C#
   

C#

 
AnswerRe: FTP download and bacgroundworker Pin
Luc Pattyn11-Nov-10 2:50
sitebuilderLuc Pattyn11-Nov-10 2:50 
GeneralRe: FTP download and bacgroundworker Pin
peropata11-Nov-10 3:29
peropata11-Nov-10 3:29 
GeneralRe: FTP download and bacgroundworker Pin
Luc Pattyn11-Nov-10 3:43
sitebuilderLuc Pattyn11-Nov-10 3:43 
GeneralRe: FTP download and bacgroundworker Pin
peropata11-Nov-10 4:58
peropata11-Nov-10 4:58 
Questioncopy Datagridview value to another datagridview Pin
annie_bel11-Nov-10 1:55
annie_bel11-Nov-10 1:55 
GeneralRe: copy Datagridview value to another datagridview Pin
musefan11-Nov-10 2:12
musefan11-Nov-10 2:12 
GeneralRe: copy Datagridview value to another datagridview Pin
annie_bel11-Nov-10 2:19
annie_bel11-Nov-10 2:19 
GeneralRe: copy Datagridview value to another datagridview [modified] Pin
musefan11-Nov-10 2:25
musefan11-Nov-10 2:25 
Well assuming you have the same columns set up in both tables then you can iterate through the Rows property and add each one. Something like...

foreach(DataGridViewRow row in dgv1.Rows)
{
   dgv2.Rows.Add(row);
}


You would obviously need to pass the first DGV's Rows collection to the second form to be processed
Life goes very fast. Tomorrow, today is already yesterday.
modified on Thursday, November 11, 2010 8:58 AM

GeneralRe: copy Datagridview value to another datagridview Pin
annie_bel11-Nov-10 2:35
annie_bel11-Nov-10 2:35 
AnswerRe: copy Datagridview value to another datagridview Pin
musefan11-Nov-10 2:57
musefan11-Nov-10 2:57 
AnswerRe: copy Datagridview value to another datagridview Pin
Mycroft Holmes11-Nov-10 12:10
professionalMycroft Holmes11-Nov-10 12:10 
Questionhow to detect the type of device plugged into Pin
emmmatty110-Nov-10 23:47
emmmatty110-Nov-10 23:47 
AnswerRe: how to detect the type of device plugged into Pin
musefan11-Nov-10 0:11
musefan11-Nov-10 0:11 
AnswerRe: how to detect the type of device plugged into Pin
_Erik_11-Nov-10 0:12
_Erik_11-Nov-10 0:12 
QuestionInstalling a Exe Pin
Anil Kumar.Arvapalli10-Nov-10 23:37
Anil Kumar.Arvapalli10-Nov-10 23:37 
AnswerRe: Installing a Exe Pin
musefan11-Nov-10 0:07
musefan11-Nov-10 0:07 
AnswerRe: Installing a Exe Pin
ShafiqA11-Nov-10 1:49
ShafiqA11-Nov-10 1:49 
GeneralRe: Installing a Exe Pin
Anil Kumar.Arvapalli11-Nov-10 3:15
Anil Kumar.Arvapalli11-Nov-10 3:15 
GeneralRe: Installing a Exe Pin
Dave Kreskowiak11-Nov-10 3:31
mveDave Kreskowiak11-Nov-10 3:31 
Questionhow to effectively remove background of an image c# Pin
pancakeleh10-Nov-10 20:46
pancakeleh10-Nov-10 20:46 
AnswerRe: how to effectively remove background of an image c# Pin
musefan10-Nov-10 23:18
musefan10-Nov-10 23:18 
GeneralRe: how to effectively remove background of an image c# Pin
pancakeleh11-Nov-10 14:22
pancakeleh11-Nov-10 14:22 
GeneralRe: how to effectively remove background of an image c# Pin
musefan12-Nov-10 2:23
musefan12-Nov-10 2:23 
AnswerRe: how to effectively remove background of an image c# Pin
fjdiewornncalwe12-Nov-10 4:02
professionalfjdiewornncalwe12-Nov-10 4:02 
QuestionMvvm - Validation [modified] Pin
manni198110-Nov-10 20:45
manni198110-Nov-10 20:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.