Solved

Automating Data from textbox to another textbox

Posted on 2012-03-21
4
147 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
4 Comments
 
LVL 7

Accepted Solution

by:
mr_nadger earned 300 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

912 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now