Forums
This topic is locked
Lose my Recordset and Data Bindings
12 Jul 2001 18:32:40 dan brews posted:
I'm a pretty lame cut and paste type programmer. I'm fine with ultradev, and can get most things to work. In fact I can write many of my own SQL statements. The problem comes when I add something to the code, and I lose my data binding / server behavior drag and drop tool boxes. Then I'm scared and vulnerable <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>The connections broke when I added sorting for each of my data columns. My quesion is..If I'm a begineer programmer, should I just expect that the drag and drop elements will eventually be unusable if I start adding to much code? Or am I just doing it wrong, and I should always be able to use the data bindings/server behavior toolboxes.
thanks for any advise you might have
Replies
Replied 12 Jul 2001 20:30:35
12 Jul 2001 20:30:35 Joel Martinez replied:
the trick to using the UD stuff, is that you can't touch it's code, or else it wont recognize it.
if you want to mess with it, you should never touch the ASP blocks that it puts code in... lets say that there was an extension that put this code in there:
<b><%
response.write someVar
%></b>
and that came up in the data sources... if you wanted to add some code around that, like an if statement, you can't touch it... you've got to do it like this:
<%if someVar = something then%>
<b><%
response.write someVar
%></b>
<%end if%>
so to answer your question, yes, if you mess with the code too much, your on your own
Joel Martinez
----------
Is this thing on?....
if you want to mess with it, you should never touch the ASP blocks that it puts code in... lets say that there was an extension that put this code in there:
<b><%
response.write someVar
%></b>
and that came up in the data sources... if you wanted to add some code around that, like an if statement, you can't touch it... you've got to do it like this:
<%if someVar = something then%>
<b><%
response.write someVar
%></b>
<%end if%>
so to answer your question, yes, if you mess with the code too much, your on your own
Joel Martinez
----------
Is this thing on?....