Solved

Automating Data from textbox to another textbox

Posted on 2012-03-21
4
149 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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