Advertisement
Guest User

docuvare

a guest
Jun 29th, 2010
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. // get transactions
  2.  
  3. ts.Succeeded += new EventHandler(transSvc_Succeeded);
  4.  
  5. ts.GetTransactions(this.m_appName, this.customerDatabaseName.CustomerName,
  6.  
  7. this.customerDatabaseName.DatabaseName);
  8.  
  9. HyperlinkButton btn = sender as HyperlinkButton;
  10.  
  11. if (btn != null)
  12.  
  13. {
  14.  
  15. string invNum = Convert.ToString(btn.Content);
  16.  
  17. //byte[] b = System.Text.UTF8Encoding.UTF8.GetBytes("[PO_]=" + invNum);
  18.  
  19. byte[] b = System.Text.UTF8Encoding.UTF8.GetBytes("[DELIVERY_DATE]>\"05-10-2010\" AND [QUOTE_]=\"" + invNum + "\"" );
  20.  
  21.  
  22. string query = Convert.ToBase64String(b);
  23.  
  24.  
  25.  
  26. string url = "http://docuvare.medgroup.com/DWWebClient/Integration.aspx?i=medicaltech&lck=1233&p=RLV&q=" + query;
  27.  
  28. System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(url), "Invoice");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement