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 Mike Lewis 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. DarwinIT

    getting corrupt zip and gz files with HttpWebRequest &HttpWebResponse

    Thanks Jason and Daddy for your feedback!!!
  2. DarwinIT

    getting corrupt zip and gz files with HttpWebRequest &HttpWebResponse

    I had to do two things to get this to download successfully. I added encoding with the value of "28591", which is the .NET reference for ISO 8859-1. And i had to change the WriteLine on the StreamWriter to just Write to avoid add a LineFeed CarriageReturn at the end which apparently corrupts...
  3. DarwinIT

    getting corrupt zip and gz files with HttpWebRequest &HttpWebResponse

    I think this is what's going on. I'm seeing a ton of EFBFBD sequences. I would conjecture that adding 2 characters for each high ascii character would swell the file up considerably with a zip file...
  4. DarwinIT

    getting corrupt zip and gz files with HttpWebRequest &HttpWebResponse

    Server on the other end is not one we have ever downloaded from before. If I browse to the site and click on the dropdown and the button for download - the file is saved to my machine just fine. The corrupt version is about a million bytes (almost double) bigger than the one I downloaded...
  5. DarwinIT

    getting corrupt zip and gz files with HttpWebRequest &HttpWebResponse

    I have used this code other places with no problem. The site I'm trying to download from now is always coming back as corrupt. Is there something else I need to add to this code to successfully bring this file down to my machine? Here's my code. string strVars = ""; try {...
  6. DarwinIT

    Jquery calendar

    Turns out I was missing a closing parenthesis in plug in configuration. Thanks for the response.
  7. DarwinIT

    Jquery calendar

    I'm workingin with some jquery code downloaded from Google. I'm trying to clone some functionality I don't understand from one project to another. This is some code that I'm putting in an aspx page. There is a css file associated - with ui- prefacing all of the statements for the datepicker...
  8. DarwinIT

    assigning drop down the text value

    I have hidden fields which contain data which can be imported into other visible text fields if a checkbox is checked. The click calls a javascript function which has this code. (asp.net page) f.<%=ddlCountry.ClientID%>.value = f.<%=hidCountry.ClientID%>.value...
  9. DarwinIT

    Sorting in SQL - I don't get it

    I was pretty sure there was a setting on the sort order. You have explained it very nicely. I won't risk altering the collation order on the DB itself. So I guess all the sprocs will have to change, but the change should be minor - just to add the collation property. Thanks so much!!
  10. DarwinIT

    Sorting in SQL - I don't get it

    I got a request that I modify a million applications (maybe a slight exaggeration) to have them all sort a certain field so that all values which start with ( show up at the bottom. Of course they want the top of the list to be ascending. So I decided the best way to do this is replace the ()...
  11. DarwinIT

    xml fields parsed in numeric order

    I have come up with a solution. I use the dataset object with the ReadXml method to put the data into a dataset. Then I can walk the second table and use my column numbers to pick up the desired data.
  12. DarwinIT

    xml fields parsed in numeric order

    I have a database driven project which allows the app to take data coming in from multiple sources and process it in the manner desired. This was column based so text files, excel worksheets, etc. work just fine. Now a new request has come down the pipeline and the vendor is sending me xml data...
  13. DarwinIT

    multiple asp.net elements on one line with label above.

    That did the trick!!! Thanks again!!!!
  14. DarwinIT

    multiple asp.net elements on one line with label above.

    Hmmm. The sample worked because there were just 3 elements. Now I'm working with the real page and I have 20 or so elements. They all show up on the same line. It seems like it requires 3 <br /> to break to a new row. There must be a better way to do that? And how do I add padding between...
  15. DarwinIT

    What is the best way to validate a User Control

    Thanks! I was asking more along the lines of a strategy to validate user controls of any type. I was not aware of the CompareValidator. That is pretty slick. I think the solution here is to dynamically assign the controltovalidate to provide the name of the user control assigned when the page...
  16. DarwinIT

    ASP form alignment

    I was wondering about that. Did so and got an answer that works. Thanks!! Just needed to float the Divs left.
  17. DarwinIT

    multiple asp.net elements on one line with label above.

    It works!!! Thank you so much!!!
  18. DarwinIT

    multiple asp.net elements on one line with label above.

    I have a mockup of a website to create. The mockup shows sometimes three fields in a line - with the label for the textbox/dropdown etc. above the input element. I am not allowed to use a table which would make this fairly painless. How do I format this so I can get multiple controls on the...
  19. DarwinIT

    ASP form alignment

    I have a mockup of a website to create. The mockup shows sometimes three fields in a line - with the label for the textbox/dropdown etc. above the input element. I am not allowed to use a table which would make this fairly painless. How do I format this so I can get multiple controls on the...
  20. DarwinIT

    What is the best way to validate a User Control

    I have found a calendar control that I'm inserting into my pages where dates need to be entered. What is the best way to validate that only valid dates are entered if the user types something. I'm wondering if I have to put the validator in the control module itself. Since sometimes the date...

Part and Inventory Search

Back
Top