Click here to Skip to main content
15,749,346 members

Comments by OriginalGriff (Top 200 by date)

OriginalGriff 2 days ago View    
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 12 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 27-Sep-23 4:35am View    
Then what is stopping you from fixing it? You know the code better than anyone if you wrote it all from scratch ...
OriginalGriff 27-Sep-23 1:34am View    
If you are dynamically adding textboxes and labels - and that's not difficult - then you are effectively creating your own grid based control, but giving yourself a lot more hassle at the same time. Seriously, a grid-based control is there to make your life easier, and prevent you having to do it all yourself!

But ... in a loop, just create the controls and call Controls.Add to add them to the HTML when it's is rendered: I'd suggest adding a panel to hold all of them, so it's easier to ensure they all fit in the same area rather than tacked onto the end of the form.
OriginalGriff 27-Sep-23 1:15am View    
This is not a solution to the original question, and is not a question we would answer even if you posted it as a question: it's your homework task.
OriginalGriff 26-Sep-23 9:39am View    
This is an English language site, and we can only accept and answer questions in that language.
I have run this through Google Translate to produce a probably-good version, but you should check it and make sure it does say what you are actually asking.