Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jasonsalas

  1. jasonsalas

    Wrapping TEXT field in quotes

    hi ryan, i've found that i can't do VARCHAR(MAX) because i'm running SQL 2000. my host is nice enough to migrate just that table to SQL 2005. :)
  2. jasonsalas

    Wrapping TEXT field in quotes

    thanks george! yeah, i'm learning this is quite the challenge!
  3. jasonsalas

    Wrapping TEXT field in quotes

    hi simi, that didn't take either. the issue is the '+' concatenation operator...TEXT fields see it as trying to do addition, which causes it to error.
  4. jasonsalas

    Wrapping TEXT field in quotes

    i'm running SQL Server 2000. thanks!
  5. jasonsalas

    Wrapping TEXT field in quotes

    hi all, i'm trying to export a DB table i've got to CSV, part of which requires me to have to wrap a field of type TEXT in quotations ("). concatenation doesn't work because SQL Server thinks i'm doing an addition operation: SELECT id,title,'"'+body+'"' as [body] FROM table i tried CAST'ing...
  6. jasonsalas

    Testing if column value is of type INT

    Thanks! It worked out. I really appreciate the help.
  7. jasonsalas

    Testing if column value is of type INT

    Hi everyone, I'm hoping someone can help me out with a problem. I'm trying to run a SPROC that needs to return data only if a column of type VARCHAR(200) can be converted to type INT. Basically, I've got varying types of data within the column from URLs, including record IDs, and I need to...
  8. jasonsalas

    Using Flash in web parts

    Thanks! I got it to work as I suspected...using a custom server control and writing the necessary tags referencing the Flash code in the page. Thanks for your help!
  9. jasonsalas

    Using Flash in web parts

    I'm trying to reference a Flash animation in a WebPartZone for a dynamic time widget, but it won't render. The file can be accessed either through SCRIPT or EMBED tags within the page's body. So, it's not contained within a regular ASP.NET control that can be wrapped into a...
  10. jasonsalas

    Creating static methods

    I've also seen people define multiple methods for the same JavaScript class within a JSON array: // constructor function Person() { this.fname = 'foo'; this.lname = 'bar'; } Person.prototype = { method1: function() {}, method2: function() {}, method3: function() {} } ...OOP in...
  11. jasonsalas

    Creating static methods

    Thanks tsuji! A lot of the constructs I've seen with Prototype and script.aculo.us use something like: var Person = { doSomething: function() { alert('Feigning a static method'); } } Person.doSomething(); ...I've tried replicating those examples in my own samples, but they never...
  12. jasonsalas

    Creating static methods

    I'With the AJAX craze of late I'm doing a lot more OOP-style JavaScript. I'd like to know how to create/call Java/C#-style static methods (shared methods for the VB'ers) in JavaScript. I know how to use prototypes to create methods within defined classes, like so: // constructor function...
  13. jasonsalas

    Change 'Content-Type' header for web services

    Is there a way to change the 'Content-Type' header for web services with ASP.NET 1.x? I need to have my API return 'text/javascript' instead of the normal 'text/xml'.
  14. jasonsalas

    Coding bookmark links within custom marquee

    Hi everyone, I'm building a news ticker element contained within a DIV on a page I've got, using JavaScript to manage the left-to-right animation. However, I'd like to include a separate DIV below the main container, which lets people jump ahead to a certain category within te content...
  15. jasonsalas

    Creating <A NAME> links within DIV, not parent page

    Hi everyone, I'm building a news ticker element contained within a DIV on a page I've got, using JavaScript to manage the left-to-right animation. However, I'd like to include a separate DIV below the main container, which lets people jump ahead to a certain category within te content...

Part and Inventory Search

Back
Top