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

x
?
Solved

Data Entry ASP.NET Forms

Posted on 2014-04-26
3
Medium Priority
?
922 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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

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