SELECT WITH POSTGRE ASCII / FILL DATATABLE - 22021: invalid byte sequence for...
Hello guysI have an urgent case here.I am trying to perform a select on a table in the postgre database of a client, however this database is not in UTF8 but in SQL_ASCIISo when I run the ".fill" in my...
View ArticleSelect Query to show same value in all rows matching specific condition
hi, I have a table with data in following structure:CallNumber|Duration1112301112null1112null1119101175null1132591175190 I want result of select query...
View ArticleOleDB Error in IIS hosted web site - while after installed KB4034660 - An...
Hi All,I have created a simple web site using .NET Framework 4.0 and Visual Studio 2010. It was worked fine till before installed the recent August-windows updates(KB4034660).I have deployed the web...
View ArticleMove from Windows Server 2008 to 2012 and ORAOLEDB.ORACLE just hangs
HiI've a VB.net application which connection to an Oracle DB via ORAOLEDB.ORACLE.It works fine on one server (which is Windows Server 2008) and we wish to move it to Windows Server 2012.The application...
View ArticleHow to update a cell A1 in csv/xls & then get B1 value to Label1.Text ?
I wish on buttonclick update cell A1 value in csv or xls with Label2.Text say 100 and then let that csv/xls B1 which has a forumla =A1*20 to compute a new B1 value to be 2000 (100*20)Then I wish to get...
View Articleodp.net wrong number or types of arguments in call
All, We've upgraded our website to VS2015 and using ODP.net which uses the Oracle 4.0 dll. I'm getting an error with wrong number of types of arguments and everything looks fine. I'm hoping someone...
View ArticleImporting data from an Excel File and using columnMapping
When importing data from an Excel File and using columnMapping the 00s get droppedExample DriverID = 1.00. It is being imported into a varchar 200 fieldAll fields come in correctly except 1.00 now show...
View ArticleNeed 1 more line of code to make the xls worksheet calculate
I have this code to update the value of an Excel cell in A1:objConn.Open(); OleDbCommand objCmdUpdate = new OleDbCommand("UPDATE[Sheet1$A1:A1] SET F1 = 2000", objConn);...
View ArticleError connecting to oracle due to unexplained error.
I am getting the below error. ERROR 2017-12-20 14:16:14,925 23045ms Resources Error - An unexplained error has occurred. at Devart.Data.Oracle.a3.a(cl A_0, t A_1) at...
View ArticlePlease Help to insert data from DataSet in Asp.net into MySQL database using...
Hi,I have below code:I have DS_SOURCE as DataSet Fill up from select query using regular asp.net Select statement call from MS SQL Server Database.///////// try { string...
View ArticlePlease Help me to insert data from DataSet in Asp.net into MySql database...
Hi,I have below code:I have DS_SOURCE as DataSet Fill up from select query using regular asp.net Select statement ADO.Net call from MS SQL Server Database.Now I want to insert the data in DataSet...
View Articlewhat is the C# code to read TYPES.cursortypes in procedure
I have a stored procedure like this PROCEDURE PRC_ABCD_GETALL (resultset_out OUT TYPES.cursorType)ASBEGIN OPEN resultset_out FOR SELECT * FROM ABCD;END PRC_ABCD_GETALL; And my C# code is like...
View ArticleLarge excel
HiI have large excel which is about 30mb file. I just want to read its header and I am using EPPLus dll. When I try to load worksheet it throws System.OutOfMemory.What will be the best way to read just...
View ArticleDocumentFormat.OpenXml Currency Format Issue
Hi All,Currently I am working in a vb.net web application where I need to export data to excel, I am using DocumentFormat.OpenXML package to do the same.In that I am creating a stylesheet to format the...
View Articleliteral does not match format string
Hi,i am trying to get the current date using "txtdate.Text = Now.Date.ToString("yyyy-MM-dd")" in VB.net but problem is when i inserting into oracle DB throwing exception "ERROR [22007] [Microsoft][ODBC...
View Article1000s of Inactive session in Oracle
There are 1000s of Inactive sessions are there in Oracle database. Some are even 1 month old.sql_text shows a particular query in 90% of the cases. Query is working fine without any...
View Articleinsert the records into excel useing C#
Hi Alli am doing insert the records into excel .query is working fine, but records are not inserting into Excel code is like belowtry { string fileLocation =...
View ArticleGridView to Oracle
Trying to get GridView to connect to Oracle.The connection works for a simple connection, like this using (OracleConnection con = new...
View Articleodp.net issue with null dates
We just updated to odp.net 4 and we have a date field on a form that when we try to pass this to our oracle procedure in the backend it get's a Not a Valid Month.Looking at the code it in the...
View ArticleHow to Identify Excel Values based on Column Headers
Hi,I have one excel with one sheet, which contains 3 columns as Customers,Products and Orders. I just need to extract values based on Header/Column Names and put in each collection(in this case 3...
View Article