|
Can you use Server.MapPath("path") ?
|
|
|
|
|
Hi,
Thanks for your reply but i have already tried this method but it does not wor,
Thanks anyways.
|
|
|
|
|
Make a virtual directory that uses the folder where the pictures are.
---
b { font-weight: normal; }
|
|
|
|
|
hi,
this one solves the problem, thanks but still the user can check the relative path and type it and get the access to that folder.
Is there any other method by wich i can re-write the path of image. i mean a junk path may be a guid .
|
|
|
|
|
How do you mean that the user can get access to the folder? Have you enabled directory browsing?
You could make a proxy page that loads the file and writes it to the response stream.
---
b { font-weight: normal; }
|
|
|
|
|
Sir,
I have not enabled directory browsing but the problem comes when someone wants to download the pictures using html grabber or some program like that which copies all the images from the site.
My basic purpose is that the user should see the junk path if he tries to click on properties of the image.
|
|
|
|
|
What's shown in the properties of the image is the URL where the image was fetched. If that URL doesn't work, the browser can't fetch the image in the first place.
---
b { font-weight: normal; }
|
|
|
|
|
Hi All,
Can any body tell how to recieve mails in Asp.Net and how to know whether the mail is reached or bounced back in Asp.Net
Thanks and Regards
Venkat
|
|
|
|
|
Hi,
Please let me know if you get the solution.
Thanks
Sushant Duggal.
|
|
|
|
|
What do you mean "how to receive mails in ASP.net"?
|
|
|
|
|
venkatasivaramaprasad wrote: Hi
That is not a very good subject line. It tells people nothing about your problem. It means that people cannot tell whether they have any knowledge about your problem without opening it. Many people will just skip over the post because of that.
A subject line of "Email problem in ASP.NET" may be more appropriate.
|
|
|
|
|
Thanks man for your suggestion. i will keep maintaining this. Thanks alakh once again
Thanks and Regards
Venkat
|
|
|
|
|
hi I am working in asp.net(vb)
I want to insert my values of datagrid in to the database table.
pls tell me how to do that if possible give demo code'
thanks in advance.
|
|
|
|
|
Make arraylist of arraylist and the following:
foreach(DataGridItem dgi in dgChecklist.Items)<br />
{<br />
arrList.Add(dgi.Cells[1].Text);<br />
}
|
|
|
|
|
or u can u this link:
http://www.c-sharpcorner.com/Code/2003/Jan/AccessDataGridVal.asp
|
|
|
|
|
Can anyone suggest some URL or articles whcih describe how can we incorporate Dynamic help in ASP.NET Web Pages?, I want some standard way of showing help to user when they click a "Help" button or on Pressing "F1" button something like this.
Please help!!
Thanks in Advance
|
|
|
|
|
|
How to Create user accounts in FTP(site) Server with ASP.NET (1.1) Web application?
How to start downloading to customer system from that FTP server?
Any Help...
Thanks in Advance
Poorna
|
|
|
|
|
hi can anybody tell e i want to use RSS for my webpage. But i dont know how to do that pls tell me
thanx
aavesh
|
|
|
|
|
Microsoft has released an RSS toolkit for ASP.NET 2.0. Details can be found on DimitryR's blog[^]. Scott Guthrie has a blog entry[^] with an example of its use. If you are still in need of more assistance, I'd suggest consulting your wise Uncle Google. He will also have plenty of RSS creation examples.
Hope that helps get you started.
--Jesse
|
|
|
|
|
I want RSS for asp.net 1.1 will this be help full.
|
|
|
|
|
I don't believe that the Microsoft toolkit works with version 1.1. However, creation of RSS is a well known task that has been solved many times over. I am sure that a web search would give you plenty of hits to sort through. For example this[^] article by Chris Richner can be found right here on CodeProject.
Hope that helps.
--Jesse
|
|
|
|
|
hi i m using Asp.net with Mysql as a Database. I have store date in Mysql with my webpage now the Problem is that i want to Show the data whose is Greater than Current date But i m now able to do that..pls. help me tell me what the query shuld i wrote that compare the current date with database date...
thanx
byee
Aavesh
|
|
|
|
|
hi,
Try this I hope it will help u:
System.Globalization.DateTimeFormatInfo dtf = new System.Globalization.DateTimeFormatInfo();<br />
dtf.ShortDatePattern = "dd/MM/yyyy";<br />
DateTime todate = DateTime.Parse(txtTrainingedt.Text, dtf);<br />
DateTime fdate = DateTime.Parse(txtTrainingfdt.Text, dtf);<br />
<br />
if(DateTime.Compare(todate,fdate) >= 0)<br />
{<br />
}
Date.Compare retruns >0 if todate is greater than from date and return 0 if it is equal.
|
|
|
|
|
hello
thanx
actually i'm writing a query for getting the the filtered record on the basic of
current date like this: -
select * from GarageSales where siteid ='" & sid & "' and Gar_Date <" & Date.Today.
and its not working..i'm using my sql as a database.
|
|
|
|