|
Have you considered passing the path as a parameter to the method that you're calling? That would allow you to map the path in your ASP.NET page and pass the fully qualified path to your library.
Hope that helps.
--Jesse "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi
|
|
|
|
|
Try taking a look at the System.Environment class. It has a method CurrentDirectory() which returns the current working folder. You can also try Application.StartupPath.
|
|
|
|
|
how to floating image box on right side of bottom on the page in asp.net
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Your question isn't specific to ASP.NET. I'd recommend that you look into some resources on the HTML box model and CSS positioning techniques. This[^] consultation of my wise uncle Google brought back some good tutorials to get you started.
Hope that helps a bit.
--Jesse "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi
|
|
|
|
|
So U want to display the image at a constant position evnthough the page is scrolled?
If so Click Here.
Regards,
Arun Kumar.A
|
|
|
|
|
ya Absolutely i want this thinng .but in ur link there no artical or example
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Go to View->Source and try to understand what they really done.
Regards,
Arun Kumar.A
|
|
|
|
|
Whatever they really done it doesn't work in Firefox and is there for a piece of pish.
|
|
|
|
|
i am useing SQL server 2000, now i want to ask 1 thing which is in ASP.net can you connect to a remote SQL server or SQL server should be on same machine if answers is yest how?
K Dastgir
|
|
|
|
|
speedy_gonzalas wrote: urgent help is required
That's not a very descriptive header. Everyone's problem is urgent, to them
speedy_gonzalas wrote: can you connect to a remote SQL server or SQL server should be on same machine
Either is fine, so long as the machine is visible to the server ( i.e. on the same network ).
speedy_gonzalas wrote: how?
You should try google, there's a ton of information on connection strings and the web.config, etc, on the web. You can store the connection string where-ever you like, but web.config makes the most sense.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
"data source=DatabaseServer;initial catalog=databaseName; integrated security=sspi"
DatabaseServer= server ip address ex: 192.168.0.1
WaelA
Software Engineer
WaelA@hotmail.com
|
|
|
|
|
Wael Al Wirr wrote: DatabaseServer= server ip address ex: 192.168.0.1
It doesn't have to be the IP address. It can be the machine name.
|
|
|
|
|
HI all
i want to display the DB result in PDF file
Example :
User search for a particular record in 1st page
the result must display in the pdf format 2nd page
how can i do this can any 1 give an idea
i am able to display the results in .aspx page only not on pdf file
How to display the result in PDF
Keerthi
|
|
|
|
|
I explained this to you already. You need to generate them on the server, then you can set the header of a response to be that of a PDF, and response.binarywrite the PDF file to the end user.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
in first step you must create a crystalreport object to show my result
for example yourReportFile.rpt
and copy below codes in your submethod:
yourReportFile myrpt = new yourReportFile();
rpt.SetDataSource(yourDataTable);
System.IO.MemoryStream oStream;
oStream = (System.IO.MemoryStream)
myrpt.ExportToStream(
CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
Response.Clear();
Response.Buffer= true;
Response.ContentType = "application/pdf";
Response.BinaryWrite(oStream.ToArray());
Response.End();
We Can Do Anything, If We Want It
|
|
|
|
|
Actually, that's not true. If you just write the PDF directly, you don't need crystal reports at all.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi guys!
I want to use the evaluation copy of Dundas Chart in my ASP.NET project. I have a table with temperatures in degrees and datetime in my database. I need a simple Line Chart
<<http: www.dundas.com="" gallery="" chart="" net="" index.aspx?imggroup="Line">>
to display the dependence of the temperature on the datetime.
I know nothing about asp.net charts. Is this difficult to implement?
Thank you and sorry for my bad English
|
|
|
|
|
|
I am currently using Dundas chart in my project.
It is very easy to use.
If U download the evaluation version, U will find a Web Appliation(Documentation).
From there U can find lot of code samples.
U can design whatever graph U wish.It is very easy.
Regards,
Arun Kumar.A
|
|
|
|
|
OK. Thanks
Can I work with Dundas Charts in Visual Web Developer?
|
|
|
|
|
I am working in VS2005(ASP.NET).
It is working fine.
Regards,
Arun Kumar.A
|
|
|
|
|
I have just installed it too...and it works absolutely great.
Great tool!
|
|
|
|
|
Hi,
I am having one problem. I have one web application calling web service, say webservice1. Webservice1 calls webservice2 which reads a file from the network and sends back the response. The problem is web application, webservice1 and webservice2 are all running under network service account. Network service account does not access to network resources. Hence, in the webservice2 I have to find the currently logged on user and impersonate it. After that the code will work fine.
The problem is, how to get the currently logged user and impersonate it when I am not having his password.
Regards,
Jayant
|
|
|
|
|
In IIS 6.0 you can always assign the web service you want to give more access rights to, a custom application pool with the account set to "SYSTEM" or even to log on as a user on the server you can set up with just the permissions your web service needs.
|
|
|
|
|
Yes, you are right. But that will make whole web service running in authenticed mode. I want to run a piece of code under the context of currently logged on user.
Jayant
|
|
|
|