More Related Content
Similar to Loading Data from Text Files
Similar to Loading Data from Text Files (20)
Loading Data from Text Files
- 2. Occassionallyyoumightface asituationwhere datacannotbe loadedusingDataLoader.Insuch
situationsyoucanloadTXT filesusingthe samplebelow.
<apex:page controller="FileReadingClassxxx">
<body>
<center>
<b><font size="15"><h1>Gift Card Master Data Load Form</h1></font></b><br/>
<font size="2">1.Downloadthe Vendorfile andformatinthe appropriate txtfile format.</font><br/>
<font size="2">2.Clickon the 'Choose File'buttonfile below andselectthe file.</font><br/>
<font size="2">3.Clickon the 'Load Gift CardsData' to loaddata.</font><br/>
<p/>
<apex:form>
<apex:tabPanel >
<apex:tab>
<apex:inputfile value="{!fileBody}"/>
<apex:commandButtonvalue="LoadGiftCardsData"action="{!readContent}"/>
</apex:tab></apex:tabPanel>
</apex:form>
</center>
</body>
</apex:page>