Creating Hyperlink and fetching by fetching data from database
-
I m Developing website..... In website, i have to update Latest News .... For this, i created a table in database and i have field News Heading and News Path(Path means web Address)..................... What i have to do is to fetch "News Heading" from database and have to display it on the webpage, and "News Heading" must act like hyperlink, and it will take webaddress from database ...... I hope you got what m trying to say......!! Thanks in Advance Regards Lalit Manik
-
I m Developing website..... In website, i have to update Latest News .... For this, i created a table in database and i have field News Heading and News Path(Path means web Address)..................... What i have to do is to fetch "News Heading" from database and have to display it on the webpage, and "News Heading" must act like hyperlink, and it will take webaddress from database ...... I hope you got what m trying to say......!! Thanks in Advance Regards Lalit Manik
1. First, get the url count from db and create as much as links dynamically you want. 2. Assign the text and url address appropriately. Hope this helps. :)
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
-
I m Developing website..... In website, i have to update Latest News .... For this, i created a table in database and i have field News Heading and News Path(Path means web Address)..................... What i have to do is to fetch "News Heading" from database and have to display it on the webpage, and "News Heading" must act like hyperlink, and it will take webaddress from database ...... I hope you got what m trying to say......!! Thanks in Advance Regards Lalit Manik
Hi, It would be better if you type the code, so it might be easy for us to tell whats wrong with it or what u find difficult. Solution: Fetch What news has to be shown from database and then assign to text property of a Link Button.
-
Hi, It would be better if you type the code, so it might be easy for us to tell whats wrong with it or what u find difficult. Solution: Fetch What news has to be shown from database and then assign to text property of a Link Button.
Hey Thanks to both But suppose in DB there r 20 entries then for this i have to create 20 LinkButtons or Hyperlinks..... So it will get complicated. 1) I want to do is that first we write coding for calculating the number of entries in Db table. 2) Then corresponds to that entries, it will generate that number of link buttons.. Isnt it?
-
Hey Thanks to both But suppose in DB there r 20 entries then for this i have to create 20 LinkButtons or Hyperlinks..... So it will get complicated. 1) I want to do is that first we write coding for calculating the number of entries in Db table. 2) Then corresponds to that entries, it will generate that number of link buttons.. Isnt it?