469,576 Members | 1,819 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,576 developers. It's quick & easy.

Creating textboxes dynamically

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
Jul 28 '08 #1
4 1114
Curtis Rutland
3,256 Expert 2GB
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.
Jul 28 '08 #2
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
Jul 30 '08 #3
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.
Jul 30 '08 #4
Curtis Rutland
3,256 Expert 2GB
Have you read the Howto article I've linked for you?
Jul 30 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Bhavin | last post: by
2 posts views Thread by Briand | last post: by
5 posts views Thread by tshad | last post: by
reply views Thread by rvdnieuwenhuizen | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.