Solution to the Problem of crystal report image field processing and prompt logon box

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.