MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old September 16th, 2004, 05:30 PM
Wanda Wanda is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 Wanda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Database Help

I am a complete newbie in the process of creating asp.net & sql code. I can't seem to get it right and have looked and relooked at my code. Instead of posting my code and confusing everyone, I'll give a brief description of what I'm trying to do. I know this is easy, it's just a little confusing...

----------------

On default.aspx page
1) Call t_crcnr_new_res table (New Resource)

2) Check "asoc_corp_id" column in New Resource table for this user's corpID

3) If the CorpID is found, check "new_res_i" column and display correct graphic depending on its value.
If CorpID is not found, create a new row in New resource table. "asoc_corp_id" is going to be the CorpID that was found by the associate recognition script. "new_res_i" will be set to "Y," meaning show the "new content" graphic. If "N", show the "old content" graphic.

Also on default.aspx, there are two graphic buttons. The graphics and links will be different depending on "Y" or "N." If it is Y, go to new_content.aspx. If N, go to past_alerts.aspx.

----------------

On new_content.aspx -- the actual New Alert page.
1) Display most recently posted resource (determined by the Resource Info table "t_crcri_rsrc_info", "pstd_d" column). Need title ("rsrc_ttle_nm"), URLs ("rsrc_url_x" & "down_rul_x"), type ("rsrc_type_c").

2) On page load, call t_crcnr_new_res table (New Resource) and change "new_res_i" to "N" for this person's corpID.

-----------------

On past_alerts.aspx page, simply display list of all resources table (t_crcri_rsrc_info), sorted by posted date ("pstd_d" column), most recent first.

Thanks so much...


Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > Database Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway