Current Directory:
\\10.5.0.10\iis\Sites\goprint2.com\www\
Contents:
Directories:
App_Code
App_Data
App_GlobalResources
App_LocalResources
App_WebReferences
articles
aspnet_client
Bin
common
designer
dillners
images
img
includes
kwikkopy
order_centre
printthree
RadControls
update
WebServices
Files:
about_us.aspx | Download
about_us.aspx.vb | Download
contact_us.aspx | Download
contact_us.aspx.vb | Download
create_user.aspx | Download
create_user.aspx.vb | Download
Default.aspx | Download
Default.aspx.vb | Download
discount.aspx | Download
discount.aspx.vb | Download
domain_activation.aspx | Download
domain_activation.aspx.vb | Download
downloadPD.aspx | Download
downloadPD.aspx.vb | Download
download_error.aspx | Download
download_error.aspx.vb | Download
email_policy.aspx | Download
email_policy.aspx.vb | Download
error_page.aspx | Download
error_page.aspx.vb | Download
faq.aspx | Download
faq.aspx.vb | Download
favicon.ico | Download
FileNotFound.htm | Download
generate_print_driver_step1.aspx | Download
generate_print_driver_step1.aspx.vb | Download
generate_print_driver_step2.aspx | Download
generate_print_driver_step2.aspx.vb | Download
generate_print_driver_step3.aspx | Download
generate_print_driver_step3.aspx.vb | Download
Global.asax | Download
header.fla | Download
header.swf | Download
home.aspx | Download
home.aspx.vb | Download
jsincluding.js | Download
login.aspx | Download
login.aspx.vb | Download
marcelito.txt | Download
packages.aspx | Download
packages.aspx.vb | Download
password_recovery.aspx | Download
password_recovery.aspx.vb | Download
PrintIt.master | Download
PrintIt.master.vb | Download
PrintIt.sitemap | Download
PrintItEs.sitemap | Download
PrintItFr.sitemap | Download
PrintIt_CreateUser.master | Download
PrintIt_CreateUser.master.vb | Download
PrintIt_OutSide.master | Download
PrintIt_OutSide.master.vb | Download
privacy_policy.aspx | Download
privacy_policy.aspx.vb | Download
proba.aspx | Download
proba.aspx.vb | Download
robots.txt | Download
sample.txt | Download
show_sess_par.aspx | Download
show_sess_par.aspx.vb | Download
site_map.aspx | Download
site_map.aspx.vb | Download
site_map.xml | Download
sRacadUploader.jar | Download
sRacadUploader_last.jar | Download
terms_and_conditions.aspx | Download
terms_and_conditions.aspx.vb | Download
terms_of_service.aspx | Download
terms_of_service.aspx.vb | Download
test.txt | Download
testimonials.aspx | Download
testimonials.aspx.vb | Download
TextDraw.html | Download
udraw-designer-widescreen-ui.zip | Download
web.config | Download
websites-for-printers.aspx | Download
websites-for-printers.aspx.vb | Download
File Preview:
Imports System.Data
Partial Class includes_bill
Inherits System.Web.UI.UserControl
Private _webWS As New WebWS
Private _commonFunctions As CommonFunctions = New CommonFunctions()
Private _user As MembershipUser
Private _userProfile As ProfileCommon
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Request.QueryString("ShowPrintIcon") = "Yes" Then
Me.FindControl("PrintIcon").Visible = True
Me.FindControl("NoPrintIcon").Visible = False
Else
Me.FindControl("PrintIcon").Visible = False
Me.FindControl("NoPrintIcon").Visible = True
End If
Dim _displayInvoice = False
_user = Membership.GetUser()
_userProfile = Profile.GetProfile(_user.UserName)
Dim _storeId = _userProfile.StoreId
Dim _startDate = Session("InvoiceStartDate")
Dim _finishDate = Session("InvoiceFinishDate")
Dim _invoiceDS As DataSet = _webWS.GetInvoiceByStoreIdAndDate(_storeId, _startDate, _finishDate)
If _invoiceDS.Tables(0).Rows.Count > 0 Then ' invoice already exists and has been stored in PI_Invoices
Dim _textLocation As String = _invoiceDS.Tables(0).Rows(0).Item("InvoiceLocation").ToString
If System.IO.File.Exists(_textLocation) Then
If _textLocation <> DBNull.Value.ToString() Then
InvoiceLabel.Text = System.IO.File.ReadAllText(_textLocation)
End If
_displayInvoice = True
Else
_displayInvoice = False
End If
Else ' invoice doesn't exist, generate temp. invoice
'************************
'don't show temp. invoice
'************************
_displayInvoice = False
End If
If _displayInvoice = True Then
InvoiceDiv.Visible = True
NoInvoiceDiv.Visible = False
Else
InvoiceDiv.Visible = False
NoInvoiceDiv.Visible = True
PeriodLabel.Text = " : " & _startDate & " - " & _finishDate
End If
End Sub
End Class