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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JSpicolli

    DataSet.GetXml Preserve XML Declaration ???

    Thnx, I can write to a textstream and wrap it with a StringBuilder, then call sb.ToString to retrieve the XML and then manually insert the XML Declaration. Now my issue is that the ds also strips out the namespace attribute of the root element. I don't think I am going to be able to use the...
  2. JSpicolli

    DataSet.GetXml Preserve XML Declaration ???

    Hi, Is there not a way to specify that a DataSet should Preserve the XML Declaration when calling DataSet.GetXml ? I am using the DataSet only to Merge 2 XML strings. After I merge the 2 dataSets, I then Call ds.GetXml to return the XML string with all the records merged into it. I then pass...
  3. JSpicolli

    Can XSL Output 2 XML Files?

    Danke
  4. JSpicolli

    XSLT question

    You can only use XSL Shorthand curly braces (ie {@myVal} ) in attributes.
  5. JSpicolli

    Can XSL Output 2 XML Files?

    Is it possible to have an XSLT that produces 2 XML files as a result?
  6. JSpicolli

    Filter Template Match By Global Param

    Can I filter a Template Match by a global Param? This First Code block Works:, but the seconds does not and the Only Difference between the two is the first has the filter hard-coded the second tries to use the param value. <xsl:stylesheet version="2.0"...
  7. JSpicolli

    Code Protection with ASP

    I am assuming this is for a solution that you will deploying to clients? What specifically are you wanting to restrict? Complete access to source code? If so, why? If you want to restrict the ability of the client to 'bolt-on' new features, then I suggest refactoring your design into a 3...
  8. JSpicolli

    msxml2.ServerXMLHTTP

    Post your code.
  9. JSpicolli

    Microsoft Management Console

    I sent you a copy of mine, but it is for IIS6, so not sure if it will work for you or not. But try it out.
  10. JSpicolli

    ASP table - column names

    Yah, paging or use a div with a fixed length and the overflow attribute specified to scroll.
  11. JSpicolli

    porting from asp to aspx

    Post the function
  12. JSpicolli

    Run Different Code When Page is First Opened

    Right, but in those cases the assignment and comparison operators are different. Typically, I agree readabilty trumps shorthand. That said, in this specific case, I think it is fairly self-evident what is happening (as long as you wrap the entire operation in parens).
  13. JSpicolli

    Run Different Code When Page is First Opened

    ethorn10 great, I love learning new things. If you can understand operand operations, you will save yourself alot of time and conditional coding.
  14. JSpicolli

    Run Different Code When Page is First Opened

    Yeah, Parens should wrap the whole thing for clarity.
  15. JSpicolli

    Run Different Code When Page is First Opened

    Ethorn10, The most basic operator is the equality operator (in VBScript it is = ) Which will compare 2 values of the same type, and return a boolean Consider this Code: <% Dim Age1, Age2, Age3 Age1 = 34 Age2 = 35 Age3 = 34 %> <%= Age1 = Age2 %> <BR> <%= Age1 = Age3 %>
  16. JSpicolli

    Run Different Code When Page is First Opened

    No, you are way off. uCase(Request.ServerVariables("REQUEST_METHOD")) = "POST" Will return a boolean, either true if it matches, or false if it does not. Basically, my one line of code is the same as: If (uCase(Request.ServerVariables("REQUEST_METHOD")) = "POST") = True Then isPostBack...
  17. JSpicolli

    Run Different Code When Page is First Opened

    oops that should read If isPostBack Then 'Page has been posted Else 'Page has not been posted End IF
  18. JSpicolli

    Run Different Code When Page is First Opened

    If they are hitting a button, the page is then a postback, no? Dim isPostBack isPostBack = uCase(Request.ServerVariables("REQUEST_METHOD")) = "POST" If is PostBack Then 'Page has been posted Else 'Page has not been posted End IF
  19. JSpicolli

    Microsoft Management Console

    If that doesn't work, just repost here and I am sure someone would be happy to send you a copy.
  20. JSpicolli

    Microsoft Management Console

    It's there. RUN--> %SystemRoot%\system32\inetsrv\iis.msc

Part and Inventory Search

Back
Top