|
I didn't get your Qs.Can you be bit detailed.
elci wrote: functions in asp.net
Always post in right forum.
Cheers!!
Brij
|
|
|
|
|
if i specify log2 base10 i should get the log value which matches the log table
|
|
|
|
|
What do you mean log2 base10, log2 is base 2.
You can use the log static functions defined in Math class:
Math.Log(double a)
Math.Log(double a, double base)
Math.Log10(double a)
Regards,
Lev
|
|
|
|
|
|
You're welcome
Regards,
Lev
|
|
|
|
|
We have an ASP.NET forum ( of course, you asked there ), but this is not an ASP.NET question. Sounds to me like you need to focus on some basics, and learn the frameworks you're using.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Step by step, with great attention to detail
I are troll
|
|
|
|
|
Hi,
Crystal Report 2008 has no problem connecting to oracle 9 in Crystal Report developer.
When the same report handled by C# 2005, with same connection setting,
i.e.
Rprt.SetDatabaseLogon("user", "password");
or
Rprt.SetDatabaseLogon("user", "password", "deserver", "dbname");
other method like
ConnectionInfo
When called with
Rprt.VerifyDatabase();
It generates error "Login Failure"
Any Suggestion?
Thanks
|
|
|
|
|
Perhaps the Oracle client isn't seeing the database correctly. Do you have TNSNames defined correctly.
|
|
|
|
|
The same machine use for Crystal Report 2008 and VS 2005.
Therefore they are using the same TNS Setting.
When Crystal Report Developer able to connect to Oracle 9i (retrieve data and print out), it sould be able to connect to Oracle in VS 2005.
|
|
|
|
|
Since the error is coming from Crystal, if you're using ReportViewer, have you wired Error and HandleException events. Do they reveal any extra info?
|
|
|
|
|
Details StackTrace Error
{"\rError in File C:\\Temp\\report {F053726F-6312-438A-802A-E1A184F7446F}.rpt:\nFailed to load database information."}
[CrystalDecisions.CrystalReports.Engine.DataSourceException]: {"\rError in File C:\\Temp\\report {F053726F-6312-438A-802A-E1A184F7446F}.rpt:\nFailed to load database information."}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: null
InnerException: {"\rError in File C:\\Temp\\report {F053726F-6312-438A-802A-E1A184F7446F}.rpt:\nFailed to load database information."}
Message: "\rError in File C:\\Temp\\report {F053726F-6312-438A-802A-E1A184F7446F}.rpt:\nFailed to load database information."
Source: "CrystalDecisions.ReportAppServer.DataSetConversion"
StackTrace: " at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)\r\n at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)\r\n at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)\r\n at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)\r\n at CrystalReportService.PrintCrystalReport.executeReport() at C:\\Projects\\CrystalReportService\\CrystalReportService\\PrintCrystalReport.cs: at 170"
TargetSite: {Boolean ThrowDotNetException(System.Exception)}
|
|
|
|
|
How do i change the background image of form1 from form2
|
|
|
|
|
2 ways
1.
Form1 tmp_form1 = new Form1();
tmp_form1.BackGroundImage = Image.FromFile(FILEPATH);
tmp_form1.Show();
2.Delegates And Events[^]
one more i forgot
in Form1
Form2 tmp_form2 = new Form2();
tmp_form2.Form1Reference = this;
tmp_form2.Show();
you can change form1, backgrou...
Form1Reference.BackGroundImage =.....;
i didnt checked the code, so it may have errors
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
yp he is right. or you can dynamically add the image from a dialogbox
|
|
|
|
|
hi firends,
i want to design a new fresh and interesting interface for my application like in media player or in Y! messenger which is recently made by .NET 3. i mean i don't want to use those repetition tiring default skins in visual studio designer.
how should i start?
thanks all
|
|
|
|
|
Start with an eye for graphic arts and start sketching.
|
|
|
|
|
hi
i want to display a image at run time bcoz basing on inputs a drawing is generated and it is saved to a Image and this image i have to display in crystal report.
i have Ms-Access DataBase.
thanks in Advance
vijay kumar D
|
|
|
|
|
If the data field in data source you are setting for crystal reports has a byte[] field, I believe crystal report will convert it to image and show it on the report. I am not sure though.
|
|
|
|
|
hi
thanks for u r reply.
i think i missed about this filed byte[]
cant i try with filed of type Image
ok i have another doubt
intially i given a heading to the crystal report for one task
for another task/module , i have to change the Heading of the Crystal Report.
how can i do it
thanks in advance
vijay Kumar D
|
|
|
|
|
At present I am using Entity Classes for Storing Values Retrieved from DataBase .
eg : I retrieved employeeName,employeeID and Salary from Database
and assigned it to properties EntEmpname, EntEmpId,ENTSalary of entity class and using it on front end .
Works fine for one record ,
My question is If I want to retrieve Multiple Records using Entity class do I have to create that many instances of Entity class or is there any other way out ?
|
|
|
|
|
Yes, you will, by definition, need a list of the Entity class. How else could it work ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Graus,
So suppose my query returned me a 1000 records, will it be better to use a Dataset or still list of the Entity class would be better ??
|
|
|
|
|
Nishant Singh wrote: will it be better to use a Dataset or still list of the Entity class would be better ??
If you search this you will get plenty of discussions on this topic. IMO, you should go with custom strongly typed entity classes. Fill the entity classes with DataReader . Do you know a DataSet is filled using DataReader ?
Assume your entity class name is Customer , you can return 1000 records keeping in a List<Customer> . Since List(T) supports enumeration, it can be directly supplied to DataSource of all popular controls which supports data binding.
|
|
|
|
|
Thanx Navaneeth,
Got your point ,
|
|
|
|