.net应用程序中的新数据集登录问题 [英] new dataset login problem in .net application
问题描述
我是使用.net的新手,我开发了一个应用程序,我有一个txt文件,在.net中创建数据集并从txt文件中读取数据到数据集,然后我使用crystal report通过使用项目数据创建报告 - > ado.net,我发现表(来自数据集)存在,然后我选择表并继续完成创建表。最后,我运行这个应用程序,单击一个按钮,打开openFileDialog,选择我在这个项目中创建的报告,当我想打开它时,它给我一个登录对话框,有四行:
服务器名称:NewDataSet
数据库:
登录ID:
密码:
数据库字段是灰色的,但是,它要求我输入登录ID和密码,如何处理呢?我对登录信息一无所知,似乎没有任何与登录功能相关的内容。
您需要将数据集传递给报告运行
Hi,
i am new in using .net, i developed a application, i have a txt file, create a dataset in .net and read the data from the txt file to the dataset, then i use crystal report to create report by using project data->ado.net, and i find the table(from the dataset) exists, then i choose the table and continue finishing creating the table. Finally, i run this application, click a button, open the openFileDialog, choose the report i have created in this project, when i want to open it, it gives me a login dialog, with four lines:
Server Name: NewDataSet
Database:
Login ID:
Password:
the database field is grey, however, it asks me to input the login id and password, how to deal with it? i know nothing about the login information and it seems that there is nothing related to the login function.
you need to pass the dataset to the report at runtime.
这篇关于.net应用程序中的新数据集登录问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!