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 SkipVought 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. Chopstik

    How to identify a package based on a code snippet

    We currently have a few packages that need to be refactored to work more efficiently as per our DBA's. However, they have only provided snippets of the offending code. While we are now going back through TFS to see if we can identify the offending packages (a manual and laborious process for...
  2. Chopstik

    Invalid character in a Base-64 string

    To follow up with this, I ended up doing a different kind of workaround. Instead of posting the page when the selected index of the drop down is changed, I handled it client-side so that it will use JQuery to then reload the needed sub-pages when the selected index was changed. This actually...
  3. Chopstik

    Invalid character in a Base-64 string

    The bottleneck is actually retrieving the data from the DB - it keeps timing out for certain clients due to the size of the data. We had contemplated increasing the timeout to resolve the issue but with the way our data access layer is configured, it would mean that the timeout changes for all...
  4. Chopstik

    Invalid character in a Base-64 string

    I'll play with the iframe idea and see if I can get it to work. If not, I'll have to scrap this and try something else completely - but it's annoying because everything else worked perfectly except for this idiot postback problem. *sigh* Regarding your other point, I actually had to move the...
  5. Chopstik

    Invalid character in a Base-64 string

    I can't really use an iframe here because the three charts are all specifically placed on the page and can't be changed. The three pages being loaded are being all loaded, not just sections of them - which is what I understand you are saying about the conflicts with multiple controls with an id...
  6. Chopstik

    Invalid character in a Base-64 string

    jbenson001, I have disabled viewstate in the page directive and the single <div> tag that exists in each of the three pages being called. I have disabled viewstate in the page directive and the ddl of the calling page (Welcome.aspx), but none of the other controls that exist on that page...
  7. Chopstik

    Invalid character in a Base-64 string

    I have a page that I am using with JQuery/Ajax (at this point, I'm not sure what is what) that works fine up until the point that I attempt to do a postback from a dropdown box. Then, it blows up on me with the following message: In short, I have a main page (Welcome) that then calls three...
  8. Chopstik

    Remove minutes from convert(varchar,[DateTime])

    The following may be one option, though no promises that it's the best option. You can change it as needed. SELECT GETDATE(), CONVERT(VARCHAR(50),GETDATE(),107), DATEPART(hh,GETDATE()), CASE WHEN DATEPART(hh,GETDATE()) > 12 THEN CONVERT(VARCHAR(5),DATEPART(hh,GETDATE())-12) + ' PM' ELSE...
  9. Chopstik

    Remove Hyphen from Field in MSSQL2005

    You could just use the REPLACE function in SQL. This will just replace it with an empty string but you can do it however you wish. SELECT REPLACE(Loinc_Cd, '-', '') ------------------------------------------------------------------------------------------------------------------------ Reason...
  10. Chopstik

    DataGridView Updating

    I'm not sure of a way to do directly what you've asked but I wonder if there may be an alternative method of accomplishing what you want using the database. For example, when a record/value is changed in the database, setting a flag on that record (RecordChanged?) to true. Then, immediately...
  11. Chopstik

    Editable DataGrid

    This may help: http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS259&=&q=editable+datagrid&aq=0&oq=editable+data&aqi=g10 ------------------------------------------------------------------------------------------------------------------------ Reason and free inquiry are the only...
  12. Chopstik

    Quality C# Book

    It's definitely not for everyone. But for those of us who are easily distracted and fall asleep while reading some of the other technical volumes available, I've found it to be rather helpful. It would probably be best to thumb through a copy at the bookstore before purchasing it (that's what...
  13. Chopstik

    Quality C# Book

    Perhaps a bit late to this conversation, but you might also try the Head First series. The Head First C# seems pretty good for beginning C# developers. ------------------------------------------------------------------------------------------------------------------------ Reason and free...
  14. Chopstik

    Problem inserting record into Database

    Also, if you have some more questions, there are some good people over in forum183 or at the link in my signature that may offer additional insight in its uses and benefits. Good luck...
  15. Chopstik

    Problem inserting record into Database

    Don't feel bad... I'd heard about it for a while but couldn't ever really figure it out... I still have some questions about filtering but I can get it to do what I want so it's a start... This helped me get started for real so hopefully it'll give you a push in the right direction...
  16. Chopstik

    Problem inserting record into Database

    This may perhaps also be a good candidate for SQL Profiler to see what is actually being sent to the DB. (Having recently been converted to Profiler, I've found it's a very handy tool when trying to troubleshoot these types of issues.)...
  17. Chopstik

    XML Query Help

    [link MSDN]http://msdn.microsoft.com/en-us/library/ms178030.aspx[/url] should help you. In particular, check out section C in the link. ------------------------------------------------------------------------------------------------------------------------ Reason and free inquiry are the only...
  18. Chopstik

    run calculations without erroring out

    Sorry it's taken me a while to get back to this. I'm afraid that I still don't really see where your issue lies. The code above is a couple of switch statements that will set some other variables depending on the values in the (presumed) textboxes checked in the switch cases. But I'm not sure...
  19. Chopstik

    run calculations without erroring out

    I'm a little tired and not following very well. Can you post the relevant code and that may allow us to help you find the problem? ------------------------------------------------------------------------------------------------------------------------ Reason and free inquiry are the only...
  20. Chopstik

    run calculations without erroring out

    I'm not aware of one off the top of my head but that doesn't mean there may not be a way. There probably is but there are no guarantees that it would be any more efficient... Perhaps setting a global variable and then incrementing it each time that a textbox has the variable entered (and...

Part and Inventory Search

Back
Top