K
kmeds
I am creating a news script in ASP 3.0 with SQL 2000 backend. I'm new
to SQL (I used to use Access exclusively... )
In any case I have a database of the News set up like this"
NewsIDNum int ident
NewsTitle char
NewsDate smalldate
NewsText Text
When I'm writing to the page I'm putting
<%=(rsNews.Fields.Item("NewsDate").Value)%>
This is yielding nothing. I am going to be writing a series of news
stories to each page and each should display the date it was written.
Dummy Check:
- I checked the db to be sure the field had date data in it
- I made sure nothing was misspelled
- I read aspfaq.com but didn't see my answer there in terms I
understood it seemed more useful for if you were using 1 date on a
page or not pulling the date from the database.
Any help would be greatly appreciated.
Thank you!
to SQL (I used to use Access exclusively... )
In any case I have a database of the News set up like this"
NewsIDNum int ident
NewsTitle char
NewsDate smalldate
NewsText Text
When I'm writing to the page I'm putting
<%=(rsNews.Fields.Item("NewsDate").Value)%>
This is yielding nothing. I am going to be writing a series of news
stories to each page and each should display the date it was written.
Dummy Check:
- I checked the db to be sure the field had date data in it
- I made sure nothing was misspelled
- I read aspfaq.com but didn't see my answer there in terms I
understood it seemed more useful for if you were using 1 date on a
page or not pulling the date from the database.
Any help would be greatly appreciated.
Thank you!