Solved

Data Entry ASP.NET Forms

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

867 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

21 Experts available now in Live!

Get 1:1 Help Now