View Single Post
  #29 (permalink)  
Old July 6th, 2008, 06:05 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi frakey,

The red exclamation mark comes from the server behavior that is no longer able to reconstruct itself from the code. For simple SQL queries it's able to extract the query and show it in the query box in Dreamweaver. However, as soon as you start messing around with the query through code, the server behaviors no longer work completely. As long as the code runs fine at runtime, you can safely ignore the red exclamation marks.

So, from now on, you're probably better off manually changing the code for these queries and skip the server behaviors (of course you can still use them for existing code). Or, better yet, write your own data access code which typically requires a lot less code (but a longer learning time as you need to understand the kind of code you need to write).

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.