Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Automating Data from textbox to another textbox

Posted on 2012-03-21
4
Medium Priority
?
154 Views
Last Modified: 2012-08-13
Hi Experts,
I am trying to build an Inventory Tracking system, In my Application I have a requirement where I need to enter the Quantity in a textbox and as soon as I enter the quantity it should open a windows form and ask to enter various Serial Number related to Quantity,
Ex: If I have 3 laptops in my Inventory to order then i enter 3 in my Quantity Textbox, which should Automate a form where I can enter 5 different Serial Numbers for that laptop. and finally these data should be saved in backend Database.
     I am a beginner in developing ASP.NET applications, Can anyone provide me with code. i really appreciate their help.
0
Comment
Question by:skolanti
3 Comments
 
LVL 7

Accepted Solution

by:
mr_nadger earned 1200 total points
ID: 37751254
you have several ways to do this, and it really depends on how you want things to look:

For example
1 you could create a datatable with a column called "SerialNumber" and use it as the datasource for a formview, and get the users to put the numbers in through the insert template on the form view.

2 you could have a popup box asking for each serial number in turn, save the number entered on a list, repeating this for however many laptops are being entered

3 build a gridview with the same number of rows as laptops being entered, having a textbox in a template column. Once the user has entered all the numbers, and clicks OK, iterate through each row in the grid and store the numbers somewhere.

Like I said, plan out how you want the front end to work, then we can give you some more solid code examples.
0
 

Author Comment

by:skolanti
ID: 37757277
I would prefer Step2 in the example, Can you provide me with the required code.
0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 38035788
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Screencast - Getting to Know the Pipeline

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question