Connecting Tech Pros Worldwide Forums | Help | Site Map

Creating textboxes dynamically

Newbie
 
Join Date: Jul 2008
Posts: 7
#1: Jul 28 '08
Hi
I am a fresher to .net just taking classes for .net. I got a task whic i have a basic idea but dont know how to proceed. Heres the task
create a form with a textbox and two buttons 'Show' and 'Sum'

the textbox should take values from 1-20

after enter a value(5) in the textbox, click the show button, then it should display 5 textboxes(value) on the form.
note: dont create textboxes before clicking the show buttonafter that many no. of texboxes are displayed, we 'll enter some integer values and click the sum button. then it has show a messagebox displaying the sum of those textboxes.

Please give me some codes to do this!!!!

Note: i created one textbox but unable to link with rest of programm

insertAlias's Avatar
Forum Leader
 
Join Date: Apr 2008
Location: San Antonio, TX (USA)
Posts: 2,608
#2: Jul 28 '08

re: Creating textboxes dynamically


Welcome to Bytes!

Please do not ask for full code solutions. The experts are here to help you, not to do your work for you.

MODERATOR

But, just your luck, we do have a howto article that covers what you need. Just follow the link.
Newbie
 
Join Date: Jul 2008
Posts: 7
#3: Jul 30 '08

re: Creating textboxes dynamically


I am not asking for entire code, i know u are here to help,i dont want u to do my work, i just need to know how to generate multiple textboxes
Newbie
 
Join Date: Jul 2008
Posts: 7
#4: Jul 30 '08

re: Creating textboxes dynamically


Quote:

Originally Posted by insertAlias

Welcome to Bytes!

Please do not ask for full code solutions. The experts are here to help you, not to do your work for you.

MODERATOR

But, just your luck, we do have a howto article that covers what you need. Just follow the link.


I am not asking for entire code, i know u are here to help,i dont want u to do my work, i just need to know how to generate multiple textboxes in c#. I tried many things i couldnot figure out. I just put the whole task to make others understand.
insertAlias's Avatar
Forum Leader
 
Join Date: Apr 2008
Location: San Antonio, TX (USA)
Posts: 2,608
#5: Jul 30 '08

re: Creating textboxes dynamically


Have you read the Howto article I've linked for you?
Reply