.net - Make A "Add News Page" When User Write His News?
Nov 8, 2010i want to make a add news page that when my user write his news(in up.aspx) then his news shown in news.aspx.
what am i going to do ? what is the best way for writing this page ?
i want to make a add news page that when my user write his news(in up.aspx) then his news shown in news.aspx.
what am i going to do ? what is the best way for writing this page ?
I am working on How to display the News Updates on page inside Marquee as hyperlink and on click on the link i have to display the details of the selected News .
which approach i can display the particular section of the page ?
I have to disply the News from Database?
Let say I have complete Image of Newspaper front page i want it make asp.net or winform application so user can slice this page and then link this page to another image...I am confused what should i do from where should I start although this is not my newspaper application its university project but it works same like this images....For clear understanding here is site link eg. http://epaper.dawn.com
View 1 RepliesI design web site by asp.net my website contain news page ,advertisement page and others ,I design Separate page for news and advertisement so I have question what is the best when I design Separate page or place news,advertisment and other page in multiview (view)
View 4 RepliesI was wondering how to create a front page news function with C# as the language.
Basically I want to be able to use a one of my forums in the category "Site Discussion" called "News" as a way to connect with the front page (homepage) of the site to display a few of the newest news articles each with a title, image, and a short blurb of what the post is about. Also I want them to have a link that connects to the news post in the forums.
***NOTE*** I am using YAF (Yet Another Forum) for my forums.
An example of this from another site is [URL]
As you can see in the above site in the "Today's Top Stories" section it shows 4 news posts (1 main, and 3 other top stories) and if you click on them it links to the news post (which is also accessible via the forums in the news section).
This is basically what I want to incorporate into my site, but using the YAF forums, note an admin console is also needed to do this, I have a serperate admin console that I will set-up for it basically that's when you write it and from there it displays on the front page and in the forums.
So i was thinking on using an image and a literal control. The questions i have is
1)Is there a better control to use than literal?I am using it because the text would have html and i must render it.
2)How i will achieve putting text beside the picture(the site uses a <strong> as i see in firebug but i cannot view the css and after that everything is simple text and some <br> )?
If i put the literal beside with <strong> and have a specific div size will the text automatically go below when reach the div limit?I'm asking because it will be html so i don't know if it(html) can surpass the main div container.
Is there any alternate of Marquee for moving the news in aspx page may i move the text without marquee tag?
View 4 Repliesi want to do my site to receive news from other sites and display them.
View 11 RepliesI am creating a web user control to display News Archive to display News. I am displaying it like this:
Year
Months
eg 2009
Jan
Feb
2010
Jan
Feb
This i had done. My problem is that initially I want to display only Years. And when one click on Year, corresponding Months should display.
i want to know how the news and update functionality add in my website using asp.net application by which we can update.news on daily basis,
View 2 Replieshow to show news running in side bar as shown in http://cgc.edu.in/(More news Section)
View 2 RepliesI have problem in publishing news.My module is about news.I want to develop function as publishing news in given time period,such as 1 hour or 2 two hour later it will automatically be taken up,i don't want to put it in web immediatelly.
View 6 RepliesI have added google news into my site using the following code
private void GetRSS()
{
//http://www.autoweek.com/section/rss01Create a WebRequest http://www.1888pressrelease.com/rss/automobile.xml
WebRequest rssReq =
WebRequest.Create("http://news.google.com/news?pz=1&ned=in&hl=en&q=uk+automobile+industry&output=rss");
[Code]....
but when giving image url as eval("image") then error..
How do I put the text of a news on Tittle tag on the site.
View 3 Repliesone of my client has the requirement of changing the latest news section of website dynamically or runtime so not to publish the site and host it agian and again.this section is in master page how can i achieve this in asp.net c#
View 4 RepliesI need some tutorial regarding AJAX news ticker
View 7 Repliesadding a scrolling news section to a web site? I'm thinking about allowing a user to enter news into a database and use Javascript to make the news scroll once its displayed on the page. Is this how it is typically done?
View 1 RepliesHow can I send the news of my site on Mobile or use mobile Page?
The site is asp.net
I have a website where people can send an email to a group of people and then choose to have that letter posted on our website.
The problem has now become that I get so many of them, I can't keep up with doing it manually. What I'd like to do is have it go to a database and then have it automatically update the site. So, one page will have "teasers" with the Author's name, etc and a few lines of the letter and then it links to another page that has the entire letter.
Can anyone tell me if:
a) that's possible
b) how to implement it
Doing it manually has gotten out of control!
I Have a Dropdown which list the names of countries.
when i select a country, the top news related to that country must be displayed in grid.
may i know the RSS feed of every country for this application?
Any API to list all URL for RSS feed?
I am developing a web application by using asp.net 3.5 and sql server 2008R2. I have to create a page as like as facebook News Feed (wall post). I need post Status and reply comments. I know it will be done by jQuery but I am not expart of Query. Anyone help me with sample code or demo project?
View 1 RepliesI have a bunch of news articles and I want to select the most recent one using Linq to Sql. I have an MVC action method like so
[ChildActionOnly]
public ActionResult LatestNews()
{
var article = mhndb.NewsArticles.Single();
return PartialView("LatestNews", article);
}
I would like to know the syntax for selecting the most recent item in the NewsArticles collection using Linq.
we have been able to return information from the database and then select the relevant link and return that row of information from the SQL table. The next part I am working on is adding information to the database.
So far all the coding in done in a class file, we are using stored procedures and have used user controls to return the information from the database and then also to select the row of information for each news item from the database. The sql database connection information and executing the stored procedure information is all done in the class file. how to add the news items to the SQL table. Below is the code that is used to return each news item from the SQL Table, how i need to amend this to rather than display the information, save it to the database. Also having used stored procedures, would I need to create another stored procedure to to the INSERT INTO statement
[code] ....
What would be the best approach to list news items with paging from MVC2 .net?
View 1 Repliesin my asp.net+vb web with access database i iam willing to show a marquee with live data from database.
.aspx code
<marquee behavior="scroll" direction="left">
<div ><asp:Label ID="Label1" runat="server" Text="Label1"></asp:Label></div></marquee>
.vb code
Dim ConString As String = ConfigurationManager.ConnectionStrings("baijuep").ConnectionString
Dim con As New SqlConnection(ConString)
Dim CmdString As String = "SELECT KNo, companyto FROM (InOut) where PosnASOn >= now()-2"
Dim Adpt As New SqlDataAdapter(CmdString, ConString)
Dim KNo As New DataSet()
Adpt.Fill(KNo)
For Each dr As DataRow In KNo.Tables(0).Rows
Label1.Text &= dr("KNo").ToString() + "<br />"
Next
End Sub
when i use the query (SELECT KNo, companyto FROM (InOut) where PosnASOn >= now()-2)
in query analyser it works fine and the data is displayed but when i use the complete code .vb is not dispying data in to label.