Architecture :: Validate Bulk Excel Data?
Nov 17, 2010
I have a requirement like i have bulk of excel data which i have do validate and if it is okay then i need to insert the data in the DB .
Validations includes like datatype, length, precision.. etc ... Wil ahve thousands of records.
Earlier validation was done in the Stored procedure side where the developer moved the data to the temp table and loop through each row and validate it . But we are acing performace isues and some time time out error as well.
So i thought of silution like , Convert the execl data to datattable and validate the data in UI instead of the DB.
View 1 Replies
Similar Messages:
Jan 12, 2010
Lets say i have a button control on a page and a label control. On clicking this button it performs series of actions say Action 1 , Action 2. Action 20 which will take say approx 1 hour to complete. What i need is, once this long processing is started, My web page should show the status of each action on label. Eg. After clicking a button, Label1 text should be "Action 1 is started" after Action1 is completed and Action 2 is started ,.... Label1 text should be "Action 1 Done...Action 2 started" I need this so that my user can see whats the current state of processing.
View 7 Replies
May 31, 2010
I want to store the bulk datas in single click . My problem is, i have a one pop up page( for item details) in that page i have another grid(for serial details, which is contain serial no details like, serial no,its date, asset no, etc.,,)1, I have to select the item grid , and have to update the its serial no details, ( for an item can contain more than one serial no's based on its quantity).2, When i select the first item and adding some serial no details too.3, Then again i choose next item and doing some update like adding serial no, now i have a problem like i have to kept these data's ( like first item serial no details) and second added serial no details ,,now i have to insert all the details in a final submit, i don't know how to do that and which concept i can use,
View 2 Replies
Apr 27, 2016
When I try to upload excell to table as bulk on server 64 bit
the error show
(its work on my pc but when i publish it on server error shows)
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
View 1 Replies
Dec 6, 2010
Here's what I want to do, however I'm not sure of the best place for Excel. Excel files are sent via e-mail from various sources, from each source, they are sent in different versions of Excel and different information layouts, though from each source they are consistent.
Overview.
I want to give the user a front end to enable them to place the excel files into a drop zone and specify which files have come from which source. I then want to pass the file names and source origin to a workflow service. Based on this info the workflow service will then take 1..n workflow routes based on the source with the ultimate aim that data will be placed into an SQLServer 2005 DB or if the Excel lines cannot be processed, then output for the user to see with a reason. Because this is quite a complex task, I'm taking each source in turn.
Initial Problem.
My first set of Excel files come in 4 seperate files. I need to first merge the data in the Excel sheets to make 1 File for Processing. Some of the rows in the spreadsheets can be merged into a single line under certain conditions which will make the business logic much easier further on. So, first off After the user has dropped the Excel files into the drop zone I need to open the spreadsheets and merge them. I then need to feed each line to a 'rules' engine to determine the data and business logic that needs to be processed before updating the DB. So I thought I'd use a Workflow service for this since there will be no reason not to work on multiple sources at the same time as I progress through the development of the program. The problem I have is that unless I download the CP1 for workflow I cannot use this directly (so it appears) for working with Excel. So I was looking at using possibly WCF as the 'feed' to the workflow service, but can I use WCF to do the possible long running process of merging the Excel spreadsheets before pasing a row at a time down to the workflow service?
View 1 Replies
Jan 27, 2011
I'm using .net 3.5 and am currently creating a web application used to generate a report through Aspose.CellsActually, the page is composed in a form where I get the configuration of the report I have to generate. The "generation" button is in an update panel. When I click on it, the "generation" button is hidden and a progress bar appears. When the excel file is generated, I save it in a memory stream and I send it back to the aspx page where I change the headers to allow the file's download.
View 3 Replies
Jan 4, 2011
I am making a website. It searches some data from database. When It fetch 1000 records, it runs very softly but when it fetches more then 10000 records then it doesn't display data for second page and I get a error that "Internet Explorer cannot display the webpage".
I also want to share the functionality of the site. It display only 10 records in the page and rest of data will be kept on the object. When user click on next page then it fetches data from that object only. It doesn't go back to database.
It workds nicely when it fetches 1000 records but it gives error when it fetches more then 10000 records.
View 5 Replies
Mar 8, 2011
I am using sqlbulk copy data from tableOne in serverOne to tabeTwo in serverTwo.If data is alreay copied from tabeOne in serverOne to tabelTwo in serverTwo, those data will not beneeded to be copied. How to copy data from tableOne in serverOne not exist in tableTwo in serverTwo toserverTwo in serverTwo?
View 1 Replies
Mar 4, 2011
Say i am inserting the data into the database using bulk insert that is from asp.net to sol 2008.Now i Want to Validate the data How can i do that.
View 2 Replies
Sep 1, 2010
i have try to export data to excel using gridview.
I have export it successfully but some data is missing which is due to the column format in the exported excel file is not TEXT .
[Code]....
I need to set the exported excel file column format to TEXT but find no solution on this.
View 2 Replies
Nov 22, 2015
In the above mentioned article at "[URL]" instead of selecting the existed table in dbserver is it possible to create a dynamic database table based upon the structure of the excel file to be loaded??
View 1 Replies
Nov 14, 2013
i insert some data in textboxes and i click add button so data will go to gridview and click submit button then data will goto database.
View 1 Replies
Jan 4, 2011
I am making a website. It searches some data from database. When It fetch 1000 records, it runs very softly but when it fetches more then 10000 records then it doesn't display data for second page and I get a error that "Internet Explorer cannot display the webpage".
I also want to share the functionality of the site. It display only 10 records in the page and rest of data will be kept on the object. When user click on next page then it fetches data from that object only. It doesn't go back to database.
It workds nicely when it fetches 1000 records but it gives error when it fetches more then 10000 records.
View 6 Replies
May 7, 2015
How to use SqlBulkCopy for import excel data into windows with high performance.
E.g.: using SqlBulkcopy.TableLock options
View 1 Replies
Jun 1, 2010
I have a requirement that I need to read an excel sheet using asp.net/C# and insert all the records into mysql table.The excel sheet consists of around 2000 rows and 50 columns. Currently,upon reading the excel records ,I am inserting the records one by one using a prepare statement into mysql table.But its taking around 70 secs to do so because of the huge data.
I've also thought of creating a new datarow, assigning values to each cell,adding the resulting datarow to datatable and finally calling dataadapter.update(...).But it seems to be complex because I got around 50 columns and hence I'll have to assign 50 values to the datarow.
View 1 Replies
Jul 29, 2010
What I am trying to achieve here is, I am supplying xml as string (varchar) to my stored procedure, In stored procedure I want to parse this xml and fetch each Promotion record and insert into my table. Also once each record is inserted, I need to fetch the Identity of that record alongwith the AreaID attribute from the Parent node "Promotion" of each Promotion record and insert into second association table. how would I go about doing it, my generated xml is given as under.
[Code]....
View 2 Replies
May 19, 2010
MenuItem menus = new MenuItem();
GridView1.DataSource = menus.GetDataTable();
GridView1.DataBind();
menus.GetDataTable() returns a DataTable. In the above case, we are returning to GridView. I need to populate the data into a combo box. How can i do it?
NOTE: Assume GetDataTable only returns records of a single column. I'm using Winforms
View 2 Replies
Dec 1, 2010
I want to do a bulk data transfer from Oracle 10.2G into CSV or Excel sheet.I would either want that an entire table's data be populated into EXcel/CSV or the result of a select query be so populated.
1)Is there any stored procedure or function that can do this?
I know of a function in postgres which does this kind of a thing.There could be something similar.The second thing is the reverse of it.I want to transfer the contents of a CSV file into a oracle table after truncating it.
2) What sp or function is available for that?
View 2 Replies
Jan 6, 2011
How can I load data from xml file into MSSQL Server using sql xml bulk load? I had try some code but when I ran my application, I encounter below error msg
"Retrieving the COM class factory for component with CLSID ...... failed due to the following error: 80040154"
How can I go about solving this?
View 2 Replies
Jul 16, 2013
How to insert bulk data using c#?
View 1 Replies
Jun 28, 2010
I have the following code:
[code]....
What's happening is when I try to upload a file, it tells me that everything is fine but when I look in my database, there is no data there. What am I missing? This worked before but we had to move this to another directory on the server and after we did that, the bulk insert function seems to be broken, though the server isn't returning any kinds of errors.
View 1 Replies
Mar 1, 2010
how to insert bulk data into Sql Server. Suppose I have a dataset contaning 5000 rows in it. I want to save all records to db. How it can be done and what can be best way for this.
View 2 Replies
Dec 12, 2010
when i upload a file i need to insert the data into sql server data (file will be in comma separated with different extension .ord) in vb.net file will be stored on server in a folder
View 3 Replies
Dec 15, 2010
I have a Bulk Gridview(all rows are editable) I need to loop through.I need to get the text that's displayed in each of the textboxes in the gridview, my current code is this:
[Code]....
like this, I need to loop through the gridview, but instead of just getting the text in each column, I need to get the text from the textboxes. How can I do that?If i'm going to use findcontrol() then I need the ID of each control. the gridview is always created dynamically, which means I don't know the number of controls that's being created beforehand. So, how/where can I find the ID?Is there another way to extract data from the textbox, other than findcontrol()?
View 4 Replies
Aug 23, 2012
How all rows in a gridview be updated with an update button
How all rows can become editable with an edit button on a page?
View 1 Replies