Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Pomoc oko crystal reporta

[es] :: .NET :: Pomoc oko crystal reporta

[ Pregleda: 1949 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Neznalica_sa_ugla
split

Član broj: 83282
Poruke: 390
*.adsl.net.t-com.hr.



Profil

icon Pomoc oko crystal reporta17.02.2007. u 11:04 - pre 209 meseci
Ima li ko da pomogne !!!
Potrban je najjesnostavniji CR iz jedne tablice , da mi to opise u par koraka . (asp.net vs2005 , SQL2005 ) , samo da to vidim na ekanu .. HVALA

[Ovu poruku je menjao Neznalica_sa_ugla dana 17.02.2007. u 12:25 GMT+1]
 
Odgovor na temu

west_herc
west_herc

Član broj: 103549
Poruke: 160
*.tel.net.ba.



Profil

icon Re: Pomoc oko crystal reporta18.02.2007. u 19:50 - pre 209 meseci
To ti je najbolje da pogledas na ovom linku, jer jako je fino objasnjeno.

http://www.codeproject.com/useritems/CreatingCrystalReports.asp

http://www.codeproject.com/useritems/Le_Quang_Anh.asp

Uglavnom obrati najvecu paznju na slijedeci pasus koji cu postaviti ovdje dolje a on se nalazi na prvom linku.

Code:

Set the created Report to display in the Form
Then you have to set a “crystalReportViewer” in your form to load the report that you created earlier. And also you need to set the report source of this “crystalReportViewer” component, which is falling in the properties panel or you can set the report source by using the code like the following.

// code to get data from the DB

DBConnection DBConn = new DBConnection();

OleDbDataAdapter myDataAdapter = DBConn.getDataFromDB();

 

// use the created Dataset to and fill it with data getting

// from the DB by using the DataAdapter

DataSet dataReport = new DataSet();

myDataAdapter.Fill(dataReport,"myPersonalInfoTable");

 

// create a new report from the created CrystalReport

myDataReport myDataReport = new myDataReport();

// set the data source of the report

myDataReport.SetDataSource(dataReport);

 

// set the report source of the created “crystalReportViewer”

// component to the created report

crystalReportViewer1.ReportSource = myDataReport;
 
Odgovor na temu

Neznalica_sa_ugla
split

Član broj: 83282
Poruke: 390
*.adsl.net.t-com.hr.



Profil

icon Re: Pomoc oko crystal reporta19.02.2007. u 16:53 - pre 209 meseci
Malo kasno , al puno hvala, mozda zatreba neki drugi put
 
Odgovor na temu

[es] :: .NET :: Pomoc oko crystal reporta

[ Pregleda: 1949 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.