Ok...I don't even know if this works so sorry if this is not even possible since it looks like everything is about image calling in database...and everything i read is in vb
First off..finally figured out the right section to put this is as I read about it is a httphandler...
Ok..so I have created 2 tables that use inner join based on primary key
First table contains mostly text and links to images about item
second contains links only with about 30 rows per column which houses music links to wma files
page comes out on a query string..
basically a aspx page contains a list of all artists
then like on artist gives you art.aspx=1 which is call to create a dynamic page for all the stuff in database
That was simple enough and for me..that is a mircle since I just started reading on asp.net about 2 weeks ago
So I looked at some starter kits about ashx but i can't get the idea of how to use it..it's not as easy as looking how a database is called so i'm asking for help again..and thanks for anyone to help
I have a setup of table2 of all links for wma in a folder as stated above which plays in a wmp embedded on aspx page and by onclick javascrpt to change media played in wmp for wma..
Everything was good and cool and I thought ok..I don't need to really hide the url or anything like that..but then I started looking in logs and noticed alot of people hotlinking, downloading songs with going to webpage and even saw on someones site selling
my friends music as a a registered distrubutor which they are not after I noticed that url having alot of links to our music...so we took down the site until we can fix this and since we poor we trying to do it ourselve
what do i want...I want to be able to call the link in database by calling it through a ashx page since i saw it does the same with the personal starter kit for images or have all the links in the ashx page and have it retried through that way...but I can't
make heads or tails of how to do it for a link instead of an image..I look at a ashx page it is just confusing....
all the information on websites either say it easy and show two lines of code whihc for me means nothing or how to dynamiclly show images from database which even looks completely different from teh starter kit..i saw this thread
http://forums.asp.net/thread/1124299.aspx but does not give details or examples on how to...by the way..everything i made for this site i learned through this forum so i'm sure this thread is somewhere but i just can't find
it..
so generic detailed examples would be of great help..o I use table adapters...I don't know if that is harder to use or not...
deadlyromio
Member
45 Points
9 Posts
How to use ashx to call a row in database
Sep 18, 2006 07:13 AM|LINK
Ok...I don't even know if this works so sorry if this is not even possible since it looks like everything is about image calling in database...and everything i read is in vb
First off..finally figured out the right section to put this is as I read about it is a httphandler...
Ok..so I have created 2 tables that use inner join based on primary key
First table contains mostly text and links to images about item
second contains links only with about 30 rows per column which houses music links to wma files
page comes out on a query string..
basically a aspx page contains a list of all artists
then like on artist gives you art.aspx=1 which is call to create a dynamic page for all the stuff in database
That was simple enough and for me..that is a mircle since I just started reading on asp.net about 2 weeks ago
So I looked at some starter kits about ashx but i can't get the idea of how to use it..it's not as easy as looking how a database is called so i'm asking for help again..and thanks for anyone to help
I have a setup of table2 of all links for wma in a folder as stated above which plays in a wmp embedded on aspx page and by onclick javascrpt to change media played in wmp for wma..
Everything was good and cool and I thought ok..I don't need to really hide the url or anything like that..but then I started looking in logs and noticed alot of people hotlinking, downloading songs with going to webpage and even saw on someones site selling my friends music as a a registered distrubutor which they are not after I noticed that url having alot of links to our music...so we took down the site until we can fix this and since we poor we trying to do it ourselve
what do i want...I want to be able to call the link in database by calling it through a ashx page since i saw it does the same with the personal starter kit for images or have all the links in the ashx page and have it retried through that way...but I can't make heads or tails of how to do it for a link instead of an image..I look at a ashx page it is just confusing....
all the information on websites either say it easy and show two lines of code whihc for me means nothing or how to dynamiclly show images from database which even looks completely different from teh starter kit..i saw this thread http://forums.asp.net/thread/1124299.aspx but does not give details or examples on how to...by the way..everything i made for this site i learned through this forum so i'm sure this thread is somewhere but i just can't find it..
so generic detailed examples would be of great help..o I use table adapters...I don't know if that is harder to use or not...
ok thanks for helping or reading