Solved

Data Entry ASP.NET Forms

Posted on 2014-04-26
3
865 Views
Last Modified: 2014-04-28
Okay, stupid question time.

My company wants me to convert a "data entry" system for their clients.  How mundane!  EXCEL spreadsheets as an input device?

I want to create a data entry page (14 fields) that can be multiple entries per page....
The page will constitute what is in the Excel columns.  (Name, ID, other normal stuff).  

Key is, I don't want to have the user, entering and submitting each new record.  

In thought, I equate this with the ability in Linked-In to enter multiple skills, in a sense.  Only more fields?  

Make sense?  Other team-mates don't want to upset the client base and let them use  
the Excel spreadsheet.  Allow them to upload it, and read it to fill the database.  What a waste in my mind?

Any suggestions?

Bob
0
Comment
Question by:Bob Bender
  • 2
3 Comments
 
LVL 8

Expert Comment

by:Ganapathi
ID: 40025411
See if I understand you correctly.

You want the users to add multiple entires to database at one Submit.

Add a Customised GridView in the form with 2 Buttons. Button 1 is a "+" symbol and 2 is a "Submit". On clicking the + button, Add data-rows to the DataGridView dynamically. Do not save it to DB until users clicks Submit button. Once Submit is clicked, read the data-rows from the GridView and save it to the DB.

Will try to give you an image for reference.
0
 
LVL 5

Author Comment

by:Bob Bender
ID: 40025880
THAT is exactly what I want....  The plus symbol would allow them to create more entries until they are done...

can validation on the entered line be done one the fly, to let them know immediately.  I am assuming that asp.net validators (required, expression for data entry limitations) could be used.

Now to find a copy.  I have really only done gridview using displayed data from tables, not for entering things.

Bob
0
 
LVL 8

Accepted Solution

by:
Ganapathi earned 500 total points
ID: 40025913
Here you go. I have been developing a tool which has similar kinda option you are looking for, I have attached the screen of my tool.

The Add button is the + button I was talking about. The text boxes row'ed right above ListView is basically Control Collection. Once entered the data and Clicking on the Add, the data will be instantly added to the ListView(Not to the Database). Finally, on clicking the GENERATE SCRIPTS button It will save(here am trying to generate a script file, ignore the button name. Consider it as Submit/Save) the Rows from the ListView to DB.ScreenShot of my app
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The ability to automatically add page numbers to a layout is one of the many easy, convenient features InDesign has to offer. There are many reasons why you would want to automatically generate page numbers in your next project, so whether it’s a ma…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

758 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

14 Experts available now in Live!

Get 1:1 Help Now