Solved

Data Entry ASP.NET Forms

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

808 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