hi
i have 64 textbox that on runtime be appear on design i didn't collect them and now i want to reach to one of them and find the i,j (i,j are 2 dimention array form these textbox) and then go to next textbox how i can do that?
i don't know is it clear or not if it isn't say i will put my source here
darab
-4
Junior Poster in Training
Recommended Answers
Jump to PostNot clear. Please give the source...
Jump to PostDo you know the textbox's on the form that appear so you can search your array of TextBox controls (c[,]), or are you needing to enumerate through all controls on the form for textboxes first?
Jump to Postfor (int i = 0; i <= rowID-1; i++) { for (int j = 0; j <= columnID-1; j++) { if (c[i,j].Equals(myFormsTextBox)) ;//do something } }
All 9 Replies
DdoubleD
315
Posting Shark
darab
-4
Junior Poster in Training
kvprajapati
commented:
Use code tags.
-2
DdoubleD
315
Posting Shark
darab
-4
Junior Poster in Training
DdoubleD
315
Posting Shark
kvprajapati
1,826
Posting Genius
Team Colleague
darab
-4
Junior Poster in Training
darab
-4
Junior Poster in Training
darab
-4
Junior Poster 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.