473,385 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1352
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

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

Similar topics

6
by: Bhavin | last post by:
Anybody quickly replies it, would be a great help! I try to create dynamic array of textboxes control in ASP.NET(C#). I got the following error while I tried to assign value to ID property of...
2
by: Briand | last post by:
In my previous posting I failed miserably, to give enough information to get my difficulty apparent. So to start again. I want to create textboxes dynamically in VB.NET. This is not a web...
10
by: Tony | last post by:
Is there a recommended way to have a form that is a list of textboxes from a sql table based on a username that then puts the captured data back into the db? I have a table |userid|skill|level|....
5
by: BLACKDOG157 | last post by:
I've made a form with a variable number of textboxes. The user fills them out, and then I need to pick up the values he has filled in. The number of textboxes vary depending on a value that the...
1
by: Sirisha | last post by:
Hi, I want javascript for displaying multiple textboxes dynamically. ADD-this is button. if i click button first time it will display 1 textbox and if i click 2nd time it will display another...
2
by: osakthivel | last post by:
hello sir, I have one problem.I want to createtexboxes dynamically using javascript when textbox onblur event.after creating textboxes if i submit the form the dynamically created...
5
by: tshad | last post by:
I found I can create Template columns dynamically - as long as I don't use objects that need onclick events, such as a LinkButton. Textboxes and Labels work fine. I create the Template columns...
1
by: bharathi228 | last post by:
hi, iam doing a windows application.i have a requirement like to create labels and textboxes dynamically at runtime.iam giving input as number of labels,and textboxes then it will created...
0
by: rvdnieuwenhuizen | last post by:
Hi, The problem I cannot seem to solve: I have a page with a button control. In the On_Click eventhandler I dynamically add one TextBox each time the button is clicked. I add the textboxes to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.