Solved

Data Entry ASP.NET Forms

Posted on 2014-04-26
3
876 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

You can download the files for this tutorial here (https://www.dropbox.com/s/hgztzt9b60kddc9/DPS%20Demo.zip?dl=0). The .indd file in the InDesign files folder is a finished version of the file; you can start from scratch and work toward this. Also, …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

773 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