Identify empty rows in Excell  using POI

Hi,
Could U please tell me how to identify empty rows in Excell sheet using Apachi POI (poi-3.6-20091214.jar).
Thanks.
DNA

Hi,
I used the following algorithm to identify empty rows (contains value deleted cells). within the main program it is used to by pass the empty rows in an excel sheet.
If some one has a better solution please do share it with us.
Program to identify empty rows
{color:#3366ff}BEGIN
row -> Instance of the row iterator. Goes through each row.
cell -> Instance of the cell iterator. Goes through each cell.
isCellEmpty -> boolean value to assign status.
rowsToOmit -> An ArrayList which stores the omitted rows.
WHILE(Has another row){
get Cell Iterator of row
WHILE(Cell Iterator Has another cell){
IF(cell value == "")
then isCellEmpty is TRUE
ELSE{
then isCellEmpty is FALSE
BREAK
IF(isCellEmpty value is true)
Add row to rowsToOmit
END{color}
Edited by: nalagiri on Sep 19, 2010 11:37 PM

Similar Messages

  • Chinese csv file export to excel using POI

    Dear all,
    I would like to read the csv chinese data to excel using POI in java but the character in excel is corrupted. How can I solve it? Please help me. Thank you!
    Regards,
    kzyo

    Use the correct encoding for the reading and writing streams.

  • Exception : Export To Excel using POI in ADF

    Hi,
    When i am using POI jars for export to Excel functionality I ma getting the following Exception.
    Actually page contains simple button .When user clicks on the button i am getting the values from the iterator and then exporting those values to the Excel using POI.
    javax.faces.el.EvaluationException: oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: org.apache.xmlbeans.XmlOptions Dependent class: org.apache.poi.POIXMLDocumentPart
    Loader: current-workspace-app.web.ExportToExcelPOC-ViewController-webapp:0.0.0
    Code-Source: /C:/Documents and Settings/dtamarap/Desktop/export/poi-bin-3.6-20091214/poi-3.6/poi-ooxml-3.6-20091214.jar
    Configuration: <classpath> in C:\Durga\Jdev\jdevstudio10133\jdev\mywork\ExportToExcelPOC\ViewController\public_htmlT
    he missing class is not available from any code-source or loader in the system. at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143) at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406) at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019) at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046) at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761) at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451) at oracle.adf.view.faces.webapp.UIXComponentTag.doStartTag(UIXComponentTag.java:85) at test.ExportToExcel_jspx._jspService(_ExportToExcel_jspx.java:57) [test/ExportToExcel.jspx] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at
    .............................

    When you run your application, it is complaining that it cannot find a class. That class is part of Apache XMLBeans (http://xmlbeans.apache.org/). You need to ensure that you get the XMLBeans JAR file and include it in your project, just like you did for the Apache POI JAR file.
    John

  • How to populate the last empty row in Excel without using Report Generation Kit

    I wrote  a Labview SUb Vi that uses Report Generation Toolkit that is not loaded on the test stand. I am looking to convert it from Report Generation Vi like New Report,  Append Table to Report, Dispose Report. The tunneling through all the report generation Vis seems extensive. Code is attached. Thanks, Greg
    Greg

    Thank you that was a big help...
    I used the Excel Forum to get a lot of great ideas.  My code is almost working.
    There is a 2-D String Array that represents the String data that I am exporting to the Excel File Sheet 1 - 5.
    I am attempting to determine the last populated row in sheet 1 then populate the next row of Sheet 1.  Since all 5 sheets are populated every time, I should not have to search every sheet for the last row.
    I am getting two row populated on sheet 1 with seeming the same data.
     I found an AXExcelWrite2D ArrayWorksheet.vi that I thought would work.  I think there is a Table  determination that is causing me problems.  The link is http://lavag.org/topic/13324-labview-and-excel-activex-or-ado/.  The Application Invoke Node has a convert formula with "FromReferenceStyle" with R1C1 Attached to it.   I am not sure what this function is doing.  When I try to bring the function help up, there is a missing file.
    I am including both the new active x vi and the report generation vi.   Report Generation VI works.
    I would appreciate any assistance I can get on this.
    Thanks
    Greg
    Greg
    Attachments:
    REPU Test Data Population using Active X Write Save.vi ‏92 KB
    REPU Test Data Population.vi ‏60 KB

  • How to delete empty coulums in Excel using Macro

    Dear Users,
    i have prepared a very big excel file. actually this file is record of old prices and i vlook the the part number from different files and extract the old prices. some time there is no record so all the columns is empty. let me explain little more.....i
    have excel files by year 1992 To 2013. most of the times i have to vlookup the old prices, now for exampe one item we just sale in 94,97and 2007, but except these years all the columns of other years from 92 to 2013 are empty. one by one check them top to
    end and delete is very hard. is there any macro which checks the value from top to end, if there is no value so it delete all the coulum...........hope i could explain my question.................
    Best Regards
    Tahir Mehmood

    Hi,
    Please try this code:
    Sub DeleteBlankColumns()
    Dim c As Integer
    'declare c as variable for column number
    c = ActiveSheet.Cells.SpecialCells(xlLastCell).Column
    'save last column number in used range
    Do Until c = 0
    'Loop for each column number until it equals 0
    If WorksheetFunction.CountA(Columns(c)) = 0 Then
    'Check if entire column is blank
    Columns(c).Delete
    'if column is blank delete column
    End If
    'closes if statement
    c = c - 1
    'proceeds to the next lowest column number
    Loop
    End Sub
    PS:
    This is the forum to discuss questions and feedback for Microsoft Excel, if you have further question, please post the thread to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Creating an empty row  in excel as an attachment+XLS name as date_timestamp

    Hello folks,
             I am using the following method  and I want to get rid of empty column as well as file name with date and time stamp. Let me know how I can achieve this.
    Thanks,
    Khan
    FYI
    Data:  c_ext    TYPE soodk-objtp VALUE 'XLS'. " XLS Extension
    * Adding Attachment
          CALL METHOD l_document->add_attachment
            EXPORTING
              i_attachment_type    = c_ext
              i_attachment_size    = l_size
              i_attachment_subject = TY
    *          I_ATTACHMENT_HEADER  = HEAD_TAB[]
              i_att_content_text   = decompressed[].

    Hi Saquib,
    To avoid TIME STAMP use the function module CIF_GEN3_CONVERT_TIMESTAMP.
    Check this thread regarding Excel File attachement.
    Avoid blank line in excel file
    Hope this would help you.
    Good luck
    Narin

  • How to hide empty rows in Excel Template

    Hello,
    I have an Excel template that I am using to format some data. I created an XDO_GROUP on a particular section that sometimes has no data in it (see below). When the template is executed, the blank sections in the XML are creating blank rows in the spreadsheet. How can I suppress the blank sections in the template so a blank row is not created in Excel?
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    <A_R_Statement_Detail_S9 />
    + <A_R_Statement_Detail_S9>
    + <A_R_Statement_Detail_S9>
    + <A_R_Statement_Detail_S9>
    Thanks,

    try including the condition in group by taking not null element of that group . can you show any snapshot of current output and expected output by using some image hosting sites if possible.
    sample : <xsl:for-each select="DATA_DS/G_1/G_2[ID!='']">

  • How to retrieve column name from Excel using POI HSSF eventusermodel?

    Hi ,
    I am simply reading the excel sheet and writing in a txt file. I have done the following in the switch construct. It works fine but I want to retrieve only the column header. But this code gives me all available strings in the excel sheet. Any pointer would be greatly appreciated.
    case SSTRecord sid : 
             SSTRecord sstrecord = (SSTRecord) record;
             for (int i=0; i<sstrecord.getNumUniqueStrings(); i++){      
                  System.out.println(" Column name" +  sstrecord.getString(i));
    break;bye for now
    Sat

    try labels:
            case LabelSSTRecord.sid:
                LabelSSTRecord lrec = (LabelSSTRecord) record;
                if (lrec.getRow() == 0) {
                    System.out.println(" Column name "
                            + sstrec.getString(lrec.getSSTIndex()));
                break;

  • Empty rows from imported excel sheet

    Hi all
    I use Intelligent Explorer 8.3 and have an imported excel sheet in the query.
    If I process this file I receive a lot of empty rows on top the data I like receive. But in this excel sheet there are no empty rows. What could be the problem?
    Is there a setting which I can change the path to this excel sheet?
    The only way I know is to rename the excel file that I get a message box to set the path again.
    Thank you very much in advance
    Michael

    I solved the problem with the empty rows already. The problem was that Brio retrieves empty rows if they are used before. There is obviously a difference between empty rows which are used and which are unused. But I am still trying to find the excel settings where you can change the path to the excel sheet.
    Thank you anyway

  • Generating Excel report from java by using POI

    Hi
    Im trying to generate the report in Excel using POI. Im retrieving the data from the table. As per my query its having millions of records.
    For example, Im giving the sheet name as below given
    HSSFSheet sheet      = wb.createSheet("SampleReport_01");
    In a single sheet, 65000 records can be displayed. Im checking this condition also. It exceeds 65000 records, the records will be dislayed in the next sheet "SampleReport_02","SampleReport_03" and so on. Im incrementing this count 01, 02 , 03 and so on.
    While generating the report, its giving out of memory exception.
    Can anyone suggest, this is because of huge volume of data? If so, how to handle this one.
    Thanks in Advance
    Dhilip

    your workbook object is in the jvm memory. putting so much data in it while working with it will take memory allocated to jvm.
    better solution is to make a .csv file. Add the data in it with through append (check this [http://www.javacoffeebreak.com/faq/faq0086.html|http://www.javacoffeebreak.com/faq/faq0086.html] ) .
    latter import the .csv file into excel sheet manually.

  • How to Avoid Empty Space in Excel Export , while using SubReport.

    We have a sceneraio where we have parent child relationship and we are using the SubReport Concept to map the child data by taking input parameter from Parent Report.
    The RPL/HTMl viewer , PDF works fine, but  when we export data into excel empty rows are comming.
    Could  you please suggest how can we avoid empty space in Excel Export.
    we have kept the cell (width and height ) same as SubReport Width and height.

    Hi SubhadipRoy,
    According to your description, did you use separate subreport to display the data rather than insert subreport in tablix?
    Based on my test, if we are use separate subreport to display the data in the report, when we export to Excel we will get an additional row. We can adjust the minimum gap between tablix and subreport to work around the issue. In SSRS 2012, if we paste tablix
    and subreport without empty space in report design, it will not display the additional row. You can try to put the tablix and subreport in a rectangle to resolve the issue. 
    Reference:
    http://stackoverflow.com/questions/20367960/remove-additional-column-from-exporting-to-excel-from-ssrs
    There is a screenshot for your reference:
    If the issue is persist, please elaborate the issue for further investigation.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Formatting Error While Reading Excel File using POI 2.5 Final Related

    Hi All,
    I am using poi-2.5-final-20040302.jar for my project to create excel files.
    My system is having Microsoft Excel 2002 (SP-2) version, but my client is having Microsoft Office Excel 2003 (SP-3).
    My problem is that I can download the excel file with no formatting issues , but client is not able to download the same and is getting error as
    "Damage to the file was so extensive that repairs were not possible.Excel attempted to recover your formulas and values, but some data might have been lost or corrupted".
    After getting above error message, they can open the file but the colours,fonts ie formatting will be lost and only data will be available in excel.
    Can anyone help how to sort out ths issue.
    Thanks in Advance,
    Ravi

    Sound like the Excel file is invalid... Maybe its outdated or corrupted or something. What would we know about that? POI has a mailing list.

  • Can we create a pivot table of Excel in a JSP page using POI

    Hello,
    I want to know whether we can create a pivot table of excel sheet in a jsp page using POI package from apache.
    thank you.

    Hi Alex,
    Many thanks for replying.
    I followed the link, but unable to get correct output.. I have shared the template earlier. I can share the template once again.
    It would be grateful if you give me share the working template with table of content.

  • Not finding Excel file when Excel Export is done using POI API

    Hi gurus,
    I am creating a simple application which is having a simple table, and I want to export that table to Excel through POI API's. I followed the Exporting Data from Web Dynpro In Different Formats Using Open Source (POI, JExcel, iText) APIs pdf.
    I can't find the popup window to save to my computer. I checked in server C drive also but its not present over there also.
    Please help in saving that file to local pc. I populated some success messages. It might help to suggest the correct way.
    1.outputStream.toString() :
    ÐÏࡱá;þÿ þÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿRoot Entryÿÿÿÿÿÿÿÿu20ACWorkbookÿÿÿÿÿÿÿÿÿÿÿÿ^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÓÌAá°ÁâpmSAPServiceID6                                                                                B°a=u0153¯¼=h:¾#8X@uFFFD"u2022Ú1ÈÿuFFFDArial1ÈÿuFFFDArial1ÈÿuFFFDArial1ÈÿuFFFDArial"$"#,##0_);("$"#,##0)!"$"#,##0_);[Red]("$"#,##0)""$"#,##0.00_);("$"#,##0.00)'""$"#,##0.00_);[Red]("$"#,##0.00)7*2_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_).))_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)?,:_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)6+1_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)àõÿ À àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ àõÿ ôÀ à À à+õÿ øÀ à)õÿ øÀ à,õÿ øÀ à*õÿ øÀ à õÿ øÀ u201Cu20ACÿu201Cu20ACÿu201Cu20ACÿu201Cu20ACÿu201Cu20ACÿu201Cu20ACÿ`u2026¬
    Table Contentsu0152®ü3PONoStatus10new20planning
    ÿ p » ÌÁ dü©ñÒMbP?_*+u201Au20AC%ÿuFFFDÁu0192u201E¡"d,,à?à?Uu20ACu20ACu20ACý ý ý ý ý ý × uFFFD(>¶@ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ þÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþÿÿÿþÿÿÿþÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
    Here I am having these values in my table. Table 1st column header: PONo, 2nd column header: Status.
    and the Values are 10-new, 20-planning.
    I am getting the table information.
    2.outputStream.toByteArray().toString():
    [B@d689d
    3.resource.gerUrl(1) :
    ../../sap.com/local~mainexcel/ExcelApp/~wd_key32_1223730501316/ResourceName.xls?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=aa81af93979511ddca5900110a9d0ac5&sap-wd-appwndid=aa81af94979511dd832000110a9d0ac5&sap-wd-norefresh=X
    Here this is the URL which is having ResourceName.xls file.
    But I couldn't find where its saving the file. weather its saving the file?
    I observed for the first click its doing some 2sec's process.(I think its saving some where).
    For second click its taking some lengthy process ( i don't know how much time its taking, because i waited for almost 5 hours, but nothing shown up).
    Thanks in advance
    Edited by: Venkata Kishore Thota on Oct 11, 2008 4:32 PM

    Java doesn't care what the file extension is.
    The MIME type needs to be correct or you cannot expect the file to be loaded correctly.

  • How to select data from 3rd row of Excel to insert into Sql server table using ssis

    Hi,
    Iam having Excel files with headers in first two rows , i want two skip that two rows and select data from 3rd row to insert into Sql Server table using ssis.3rd row is having column names.

                                                         CUSTOMER DETAILS
                         REGION
    COL1        COL2        COL3       COL4           COL5          COL6          COL7
           COL8          COL9          COL10            COL11      
    1            XXX            yyyy         zzzz
    2            XXX            yyyy        zzzzz
    3           XXX            yyyy          zzzzz
    4          XXX             yyyy          zzzzz
    First two rows having cells merged and with headings in excel , i want two skip the first two rows and select the data from 3rd row and insert into sql server using ssis
    Set range within Excel command as per below
    See
    http://www.joellipman.com/articles/microsoft/sql-server/ssis/646-ssis-skip-rows-in-excel-source-file.html
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • I can't import contacts from Outlook to Address Book

    I've tried to do the research before asking this question, but I can't get this to work. How do you import contacts from Microsoft Outlook to Address book? When I try to export from Outlook, the only option I have is .csv file, it doesn't give me an

  • Back To Back Order

    Hi, Currently I am doing Back to Back Order Cycle. I have facing the below two issues 1.The order Line STATUS does not change to PO-ReqRequested, when I run Create Supply Order Eligible Process[when the status is Supply Eligible]. There r no errors i

  • Installing but can't use the css

    I bought the P'shop CS6 at the Apple store, as well as my imac but ,even though I've regeistered with Adobe and have Reader, I'm not told how to get the program onto my compter. I'd appreciate any help. John

  • 10.10.3 Update Issues

    I just updated my Macbook Pro with Retina display to the latest update from Apple. OS X Yosemite (10.10.3) I feel like the battery drains a lot faster than before. The shutdown and start time is also slower than before. Do any of you know how to fix

  • Will the New Ipod Nano works with this accessorie?

    Hey guys i was wondering if the New iPod nano will work with the Belkin Tunebase for iPod nano .. http://catalog.belkin.com/IWCatProductPage.process?Product_Id=257293 http://images.amazon.com/images/P/B000EEZ2R8.01-AIWHEFKG4HT6N.LZZZZZZZ.jpg does any