hi friends,
i want to transfer the value of a 2-d array from one Form to another.
anybody have idea how to do this.
abhay_pundir
0
Newbie Poster
Recommended Answers
Jump to PostLike to pass a value from one form to another
public void TakeThis(int[][] array) { // }
int[][] arrayOfIntegers = new int[1][2]; Form2 form2 = new Form2(); form2.TakeThis(arrayOfIntegers);
Jump to PostSorry the right one is
public void TakeThis(int[,] array) { // }
int[,] arrayOfIntegers = new int[1,2]; Form2 form2 = new Form2(); form2.TakeThis(arrayOfIntegers);
All 7 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
abhay_pundir
0
Newbie Poster
Ramy Mahrous
401
Postaholic
Featured Poster
kobuew
0
Newbie Poster
Ramy Mahrous
401
Postaholic
Featured Poster
KJBB
0
Newbie Poster
ss125
18
Posting Whiz in Training
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.