How To Store File Path In Access Databse in ASP.net using C#
-
i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.
-
i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.
urgent is a very Strong word, you mostly use it when tell someone that works for you, but unfortunately we dont work for you. Stop using such words in then Forum. In your Question you have this i am developing an application in aSP.net using C#, in which i want to store the files path into access database I wanted to Answer you , but when i saw this again then i want to open this file when user clicks on the particular link You consused me there. Well i dont know what you are doing but you can save the File path in the Access database like any other record but by keeping in mind that it can be long text. but mybe you can explin clearly what you want to achieve. Thank you
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za
-
i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.
Hi, First you should increase your data type length bcoz file path may be very lenthy and then u bind file like other field, and check ur file is having correct path with file name when it is inserted.
-
i am developing an application in aSP.net using C#, in which i want to store the files path into access database and then i want to open this file when user clicks on the particular link. can anyone help me out of this. it's really very urgent. remember i am using ASP.net with C#. Thanks in advance.
As u said, when user click on the link it wont open,remember only the path is there in database .U must store the file in database,then only it will happen. And if u r storing the full path,then it is easy to get the path as cell value.Then u can open it.Make that field in gridview a template and try
modified on Friday, February 20, 2009 5:59 AM