Today, I encountered two problems when using oracle + Crystal Report (included) + VS.2005 to process image data:
1. How to bind the field type when Typed DataSet processes the byte [] database;
The personalPhoto dataType should be byte []. In vs2003, The Base64String type is directly available. the type specified in VS2005 (select DataType In the attribute column) is as follows:
I don't know how other comrades solve this problem. I try the following method: Enter System. Byte [] directly.
As a result, the system can identify the problem correctly. Other problems are the same as those in VS2003.
Http://cnblogs.com/winzheng
2. How to solve the problem in the logon box:
TableLogOnInfo l = new TableLogOnInfo ();
L. ConnectionInfo. ServerName = MyConfig. GetappSettings ("server ");
L. ConnectionInfo. DatabaseName = MyConfig. GetappSettings ("database ");
L. ConnectionInfo. UserID = MyConfig. GetappSettings ("uid ");
L. ConnectionInfo. Password = MyConfig. GetappSettings ("pwd ");
Foreach (Table t in r. Database. Tables)
{
T. ApplyLogOnInfo (l );
}
I also encountered this problem, but I have been using it quite well in 2003, but I did not prompt the logon box problem. VS2005 prompts that the study found that we set the data source first,
Then, set the data on the CrystalReport page. Then, we didn't update the data source. As a result, the system could not identify the data source. Method: After setting the data source, create a new one.
Report page, the system will not prompt.