|
Thank you all for your suggestions, it worked.
|
|
|
|
|
How can I show a master-detail relation in a single datagrid.
Can anybody help me.
Thank you
Suman
|
|
|
|
|
Create a master detail Dataset and there after bind that dataset to datagrid.
Mandar Patankar
Microsoft Certified professional
|
|
|
|
|
Mr. Patankar,
Can you provide me any URL where i can get a sample code on it.
Thank you,
with Regards
Suman
|
|
|
|
|
i have created a simple web service for doing mathematical operations. while i'm trying to open that web service in another machine, it opens but with out the services. what actually i have to do in order to access that particular web service in another machine?
Thanks
with regards,
K.Vijaya
|
|
|
|
|
First of all you need to start your web service.
and See if you can view the wsdl from another machine.
you can do this by typing your webservice address in webbrowser.
now add a webrefrence to your client after that you should be able to consume the webservce method as normal methods.
Mandar Patankar
Microsoft Certified professional
|
|
|
|
|
is there any provision for deploying a web application?. If so, can any one tell me that if we deploy that web application, whether it will be available when we are using some other system after doing the setup?
thanks
K.Vijaya
|
|
|
|
|
When you use this forum, make sure you are specific in your question! I will assume you are using asp.net within a web application? You’re asking about deployment, as far as I understand it, a web application resides on the server running IIS (internet information services) which make asp a sever-side application. So the only deployment is to register your app in IIS on the server. Make sure everyone who is to use this page as the security privileges needed. You can google basic asp.net walkthroughs.
goog luck
Andy
|
|
|
|
|
hellow to all ..
i am generating a crystal report that have double rows that i would like to remove , let say i have
ID - NAME - ADDRESS
----------------------
1 SSS SSSSS
1 EEE EEDEE
1 TER WEWEE
i would like to remove two rows , and keep one
have can i do this in crystal reports .
if it is the wrong Forum tell me so also ..
thxx
|
|
|
|
|
You need to handle programatically
Some thing like this
With reportDocument.ReportDefinition.Sections("Section3")
DirectCast(.ReportObjects("Borrower"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = dsLockConfirmationCO.LS_LockConfirmation_CO.Item(0).PrimaryBorrower
DirectCast(.ReportObjects("BorrowerName"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = dsLockConfirmationCO.LS_LockConfirmation_CO.Item(0).PrimaryBorrower
DirectCast(.ReportObjects("CoBorrowerName"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = dsLockConfirmationCO.LS_LockConfirmation_CO.Item(0).PrimaryBorrower
End With
Chinna Srihari,
Tech Lead, Capgemini
|
|
|
|
|
hii ,
thank u for the code ..
i need to to translet to me somethings ,
what ReportObjects("Borrower") stand for ?
and what is dsLockConfirmationCO stand for ?
how can i use this code ?
thank u .
|
|
|
|
|
Hi,
This is quit simple
In Report designer we have
Report Header (Section 1)
Page Header (Section 2)
Detail (Section 3)
So in Section 3 we have lables and its value to be displayed.
here ReportObjects("Borrower")--> Borrower indicates value field name
dsLockConfirmationCO is dataset object from which we need to assign the value
Chinna Srihari
Tech Lead, Capgemini
|
|
|
|
|
hellow ,
thank u for ur help ..
but i am sorry i can't figure out how to use the ( dsLockConfirmationCO )
and how do i assign values to it !
can anyone help me ?
thank u
|
|
|
|
|
Hi,
This is how it works.
We need to display the data in report.
One case is retrieve the data from data base, assign it to reports.
here dsLockConfirmationCO is typed dataset which i have populated from database.
In your case you may be retrieving data from data base and display it on the report. So, create your own dataset and populate it and assign the values to report object.
Here in my case dsLockConfirmationCO is dataset do nopt confuse
Srihari Chinna
Tech Lead, Capgemini
|
|
|
|
|
hellow ..
here is my code ,
Dim reportDocument As New rptStationsGroup
Dim dsLockConfirmationCO As New DataSet
dsLockConfirmationCO = New DataSet("BusLines")
With reportDocument.ReportDefinition.Sections("Section3")
DirectCast(.ReportObjects("BusLineNo"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = dsLockConfirmationCO.LS_LockConfirmation_CO.Item(0).PrimaryBorrower
End With
in dsLockConfirmationCO i have a blue line , that say .
'LS_LockConfirmation_CO' is not a member of 'System.Data.DataSet'.
thank u
|
|
|
|
|
Hi Man,
dsLockConfirmationCO is dataset
LS_LockConfirmation_CO is table in dataset
Item(0) is Row
PrimaryBorrower is field in typed dataset
Chinna Srihari,
Tech Lead, Capgemini
|
|
|
|
|
hi , i understand , but when i write this code
Dim reportDocument As New rptStationsGroup
Dim dsLockConfirmationCO As New DataSet
dsLockConfirmationCO = New DataSet("BusLines")
With reportDocument.ReportDefinition.Sections("Section3")
DirectCast(.ReportObjects("BusLineNo"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = dsLockConfirmationCO.Tables.Item(0).Columns("BusLineNo")
End With
i recive :
Value of type 'System.Data.DataColumn' cannot be converted to 'String'.
|
|
|
|
|
Hi
Have you populated the dataset.
Give me the complete method code and let review.
|
|
|
|
|
hi ,
what u mean by populated ?
i have a CrystalReport it is a file ,
i view it in crystalviwer , when i click a button i run this code
Dim reportDocument As New rptStationsGroup
Dim dsLockConfirmationCO As New DataSet
dsLockConfirmationCO = New DataSet("BusLines")
With reportDocument.ReportDefinition.Sections("Section3")
DirectCast(.ReportObjects("BusLineNo"), CrystalDecisions.CrystalReports.Engine.TextObject).Text = dsLockConfirmationCO.Tables.Item(0).Columns("BusLineNo")
End With
thank u for ur patience ,
|
|
|
|
|
sorry for disturbing , anyone have any idea or other method ?
|
|
|
|
|
i've created a program (VB.NET + SQL 2000 + CrystalReports)
the program running greate on the same machine where i've developed on it.
but when i create the setup and install it on other machine, the problem appears....
"when i click on the button that calls the CrystalReport.rpt an unhandled exception thrown telling me the a V6.dll file not found or something like that... "
what i should do?
Militiaware
Faris Madi
|
|
|
|
|
You need to install Crystall report as well
Chinna Srihari
Tech Lead, Capgemini
|
|
|
|
|
thanx for the tip Mr. Srihari
if i want to intall the crystal report.. where is shall found it in the VS kit.
Militiaware
Faris Madi
|
|
|
|
|
Hi,
you do get it from the .NET CD.
Or try this
http://thinstall.com/help/index.html?crystalreports9forvisuals.htm
I have installable with no way that i can send it to you.
I am sorry for that
Chinna Srihari,
Tech Lead, Capgemini
|
|
|
|
|
Also
http://www.microsoft.com/downloads/details.aspx?FamilyID=0cecc8ab-92dd-402b-a590-c623bc8daf52&DisplayLang=en
Chinna Srihari,
Tech Lead, Capgemini
|
|
|
|