Changing Sql Statement 追蹤
I am new to Bartender using the trial edition. I am trying to evaulate the software to see if its the correct solution for us.
I am using Visual Studio 2010, c#
I need to dynamically create the SQL at print time. I have been looking at examples. All seem to have the following type of code.
btApp = new BarTender.ApplicationClass();
btDoc = btApp.Formats.Open("Labels.btw", false, "");
btDb = btDoc.Databases.GetDatabase(1);
My problem is I do not have any reference to Databases.GetDatabase
I am trying
Engine btEngine = new Engine();
LabelFormatDocument btFormat = btEngine.Documents.Open(LabelFileName);
But then I become lost in assigning anything to btDB.
Any help would be greatly appreciated.