-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: BalajiKrishnan
Message 1 in Discussion
Can any one tell me the steps involved in opening a crystal reports in web I had
done the following steps 1) Create a web application 2) Add a crystal report to the
project (Just add the report) 3) Wrote the following code in page load private void
Page_Load(object sender, System.EventArgs e)
{
SqlDataAdapter adapter = new SqlDataAdapter();
DataSet test = new DataSet("EFTTable");
SqlConnection conn = new SqlConnection("server=server;User
ID=sa;Password=sa;database=McoDev;Connection Reset=FALSE;Min Pool
Size=5");
SqlCommand command = new SqlCommand();
command.Connection = conn;
command.CommandText = "Test_EOBDetails";
command.CommandType = CommandType.StoredProcedure;
command.Parameters.Add("@CHECKNUMBER", SqlDbType.Char);
command.Parameters["@CHECKNUMBER"].Value = "00007020";
adapter.SelectCommand = command;
adapter.Fill(test,"EFTTable");
CrystalReportTest cr= new CrystalReportTest();
cr.SetDataSource(test.Tables["EFTTable"]);
cr1.ReportSource = cr;
}
4. Now what should i do now (how to design the report....) Balaji...
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]