Home > Net >  C # using the DataWindow read PBL files tip can't find the data window
C # using the DataWindow read PBL files tip can't find the data window

Time:11-27

C # using the DataWindow. DLL version 2.5 reading PBL files no problem, but using Sybase. The original concept. The DataWindow. Win. DLL version 11.5 and above open files will prompt
The DataWindow object was not found: pbtest_dw (data file window name)

The code
This. DataWindowControl1. LibraryList="E: \ \ test \ \ pbwin \ \ bin \ \ Debug \ \ pbtest PBL";
This. DataWindowControl1. DataWindowObject="pbtest_dw";

At The time of form design LibraryList properties selected pbtest. PBL file, The corresponding DataWindowObject properties can also be seen in The "pbtest_dw", is a run to The enclosing dataWindowControl1. DataWindowObject="pbtest_dw" is just error Sybase. DataWindow. DataWindowLoadFailedException: "The DataWindow object was not found: pbtest_dw"

  •  Tags:  
  • C#
  • Related