|
Hi All,
Can we open a file in a loacation outside the PhysicalApplicationPath.
And set the path to a hyperlinks NavigateUrl property?
Please Help
Biju Sam
|
|
|
|
|
Dear biju,
its not possible in web applications. you have to store/upload the files in
some locations and you can navigate the links.
otherwise it may show some security errors when you are implementing this in
client side.
all the best.
Sathesh Pandian
|
|
|
|
|
You have to store the PDF files in the Database and try to Fetch it.
Regards,
Satips.
|
|
|
|
|
If i put the path like C;/........
it will not open it.
Biju S
|
|
|
|
|
dear biju,
Are you using C# ?
In C# you have use C:\\folder\\file
In vb.net you can easily mention like this C:\folder\file
All The Best
Sathesh Pandian
|
|
|
|
|
You can Use it to get the data from Drive C.
Use the path C:\\folder\\file in your code and try to fetch the data.
With Regards,
Sakthi
|
|
|
|
|
I'm using the correct syntaxes. for the path.
but the hyperlink will not open the file unless you give ~\\folder\\file
i need to emiminate this.
Biju S
|
|
|
|
|
Hi All,
The requirement is to create factory class that implements a set of cross-cutting aspect classes and provides configuration to create user defined implementations for them at runtime. The user defined assemblies implement the Command pattern, and are invoked in the order they are configured. This requires using Enterprise library for handling configuration data in an external configuration file.
The factory is a singleton class. It references each aspect by an interface. The factory also defines wrapper class to invoke aspect method calls, and load the assemblies on demand.
Please Provide the necessary code and material.
Thanks,
Ramesh Bhojan
|
|
|
|
|
We are here to Help you only,not to do your Work.
So for what you have done for the above stated Application.
What error it says.?
Post your doudt we can help you.
Regards,
Satips.
|
|
|
|
|
Dear Satips,
I have no prior experience on the topic of Aspect factory and Class Factory.
I jus wanted to check if someone had done some sort of job related to this earlier, which could be helpful to me....
I am not asking you to do my job.I just require some supportive documents.
It would be helpful if ppl could share a few docs or code using factory class and aspect factories, which they had worked earlier on.
Thanks,
Ramesh
|
|
|
|
|
Hi Ramesh,
I have not worked in Aspect Factory.
But i have got someuseful links related to that from my friend.Get it[^]
Hope this will help you in your application.
Regards,
Satips.
|
|
|
|
|
I recommend buying the 'design patterns' book, it will cover these things for you.
Or google it.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
i want to create a forum like code project in asp.net.how can i do that?what are the basics?shud we use datagrid in this application?pls help.
"know ur knowledge"
|
|
|
|
|
Better buy a Book and read and Start practicing your code.
Because we cannot answer it simply there are lot of steps invlolved it in creating the Application for Forum.
For More Details[^]
Regards,
Satips.
|
|
|
|
|
Thanks satips
"know ur knowledge"
|
|
|
|
|
Dear accessred,
first you have to seperate the modules for your forem.
1.login and registration
2.Posting and viewing the messages
3.Posting and viewing the articles
4. admin control
second you have to start working for the modules and integrate them later.
Ask your queries seperately when you need any guidance.
PS: seperate the modules into sub modules.
all the best.
Sathesh Pandian
|
|
|
|
|
thanks sathesh.
"know ur knowledge"
|
|
|
|
|
ahem [^]
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman"
(Lilly Allen / Kaiser Chiefs)
|
|
|
|
|
Hi All,
I need to include my folderpath(where i have few PDF files) eg: c:/Temp in web.config and access this path in cs file.
Can some one help me on this please.
Thanks,
Biju S
|
|
|
|
|
|
Thanks for the reply.
But question was not for a connection string.
I need do give a folder path in server like //192.3.2.220/Folder/888.pdf file
so in ,my cs code i need to get this path and open the PDF file.
How is this possible.
Biju S
|
|
|
|
|
dear biju,
you can store the folderpath and files also otherwise you have to go for
resources
all the best
Sathesh Pandian
|
|
|
|
|
|
Hi, Suppose I have pulled out data from a database into a data reader and load the DropDownList as follows.
Dim ddDR As OdbcDataReader = Nothing
Dim ddOdbcConnection As New OdbcConnection("server=(local);database=[dbname];user id=username;password=password;connection reset=false;connection lifetime=5;min pool size=1;max pool size=50;")
Dim ddOdbcCommand As New OdbcCommand("SELECT * FROM TableName", ddOdbcConnection)
ddOdbcConnection.Open()
ddDR = ddOdbcCommand.ExecuteReader(CommandBehavior.CloseConnection)
DropDownList1.DataSource = ddDR
DropDownList1.DataTextField = "DisplayValueFieldFromDB"
DropDownList1.DataValueField = "DataValueFieldFromDB"
DropDownList1.DataBind()
What I would like to do now is read the Data from the DropDownList. I've read that the values can be retrieved as DropDownList.Items[index] - replace the
index with a number, which can go up to the maximum number of data members. I am not sure what the author meant by that could you please explain? Thank you in advance for your help.
-- modified at 1:01 Thursday 28th June, 2007
|
|
|
|
|