How To Print Lables Which Data From A Datagridview
Hi:
I want to print lables where the data from a datagridview by bartender.
How can i do?
How to set the bartender-format-lable?
Waiting online....
Thinks!!
I want to print lables where the data from a datagridview by bartender.
How can i do?
How to set the bartender-format-lable?
Waiting online....
Thinks!!
0
-
Hi, Weifung:
Can you elaborate more for us? Do you try to select a set of data from database within Bartender and print the labels ?
You can reference our Help-> Automating Bartender-> Automation with ActiveX-> Getting Started-> Examples using ActiveX Automation -> Automating Database printing
//Open Label Format
btFormat = btApp.Formats.Open("c:\\Format1.btw", false, "");
//Select the database
btDb = btFormat.Databases.GetDatabase(1);
//Set the SQL statement
btDb.OLEDB.SQLStatement = "SELECT * FROM 'Customers' WHERE 'Name'='Weifung'";
Hope it helps....
Thanks!0 -
thinks 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare