原创 Winforms ReportViewer and Open After Export(Winforms ReportViewer並在導出後打開)

轉自:https://stackoverflow.com/questions/7649699/winforms-reportviewer-and-open-after-export When using the default expor

原创 Export to XLS and XLSX Formats

https://docs.devexpress.com/WindowsForms/17733/controls-and-libraries/data-grid/export-and-printing/export-to-xls-and-x

原创 Examples: Data Binding

https://docs.devexpress.com/WindowsForms/3002/controls-and-libraries/data-grid/examples/data-binding/examples-data-bind

原创 PB寫函數區分文件和文件夾

用 DirectoryExists 判斷是指定文件夾是否存在 例:F盤用 文件夾 test,文件 test.txt if DirectoryExists('f:\test') then messagebox('','這是文件夾') if

原创 SQL 金額顯示千分位

第一種: select convert(varchar,cast(_money AS MONEY),1) AS _money -----帶小數點的 第二種: select reverse(stuff(reverse(convert

原创 Data Grid

https://docs.devexpress.com/WindowsForms/3455/controls-and-libraries/data-grid Data Grid Aug 27, 2019 12 min to read Th

原创 C# 調用 Outlook發送郵件實例

https://www.cnblogs.com/allen0118/p/4622798.html 添加引用:Microsoft.Office.Interop.Outlook using System; using System.Col

原创 如何:引發事件和使用事件

https://docs.microsoft.com/zh-cn/dotnet/standard/events/how-to-raise-and-consume-events 本主題中的示例演示如何處理事件。 它們包含 EventHand

原创 Win10添加簡體中文美式鍵盤的方法

在Win10中很多朋友發現沒有簡體中文(美式鍵盤)的選項,而如果使用“英語-美式鍵盤”作爲默認輸入法,有ModernApp的界面會變成英文,這十分不方便,那麼有沒有方可以在Win10中添加一個 簡體中文(美式鍵盤)呢?一起來看看下面的方法

原创 How to add reportviewer control in visual studio 2017 vb .net

https://social.msdn.microsoft.com/Forums/windows/zh-cn/f72d92a1-e7f8-4212-a0d7-8fa7c898658d/how-to-add-reportviewer-con

原创 Printing Overview

https://docs.devexpress.com/WindowsForms/990/controls-and-libraries/data-grid/export-and-printing/printing-overview Pri

原创 XRTableCell Class

XRTableCell Class A single Cell in an XRTable's Row. Namespace: DevExpress.XtraReports.UI Assembly: DevExpress.XtraRepo

原创 Generating PDF from a DataGridView in Winforms

https://stackoverflow.com/questions/13587520/generating-pdf-from-a-datagridview-in-winforms/22197268#22197268 I'm attem

原创 PB如何提交WEB請求包含中文參數的解決方案全過程

(本人測試,非最優解決方案) PB如何提交WEB請求包含中文參數的解決方案全過程 我要做的事情:  我要用POST方式發送WEB請求到服務器,同時傳輸一些中文參數過去。開發環境:WIN7 64位下的PB10。服務器全部都是UTF8格式的。

原创 SQL之 Stuff和For xml path

轉自:https://www.cnblogs.com/stevenjson/p/3673239.html 示例 昨天遇到一個SQL Server的問題:需要寫一個儲存過程來處理幾個表中的數據,最後問題出在我想將一個表的一個列的多行內容拼接