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. dragonwell

    disable @@IDENTITY

    Thanks for all your posts on this. We decided to update the application code to use SCOPE_IDENTITY(). :-)
  2. dragonwell

    disable @@IDENTITY

    I added an AFTER INSERT trigger to a table. Unfortunately, some application code is using @@IDENTITY to get back the value of the identity column from that table. The trigger does an insert into another table, so @@IDENTITY returns the identity value from that second table and breaks the app...
  3. dragonwell

    Question on Decorator pattern

    Looks like a good book... Thanks _______________________________________
  4. dragonwell

    Question on Decorator pattern

    In all examples of the Decorator pattern I've seen, for example : http://www.dofactory.com/Patterns/PatternDecorator.aspx, the functionality being extended is on a method with a void return type. So it's easy to see how one could add additional functionality before or after passing the...
  5. dragonwell

    OOP Modeling Tool Recommendation

    I prefer notebook and pen! ;-) _______________________________________
  6. dragonwell

    How to setup a datagrid like this one?

    Make sure ViewState is not disabled for the page or the DataGrid. _______________________________________
  7. dragonwell

    How to setup a datagrid like this one?

    Do you have ViewState enabled?
  8. dragonwell

    AJAX 1.0

    I've been using it a lot and I like it (haven't written a single line of javascript yet!). We are replacing a desktop app with a web form and it's essential that the users have a postback-free experience for the most part. AJAX is turning out to be essential for this. In addition to the basic...
  9. dragonwell

    Search for multiple words in multiple columns

    Hi, warning -the logic here may be flawed (I'm tired...) I'm trying to create a sp to search a catalog database. The view I'm querying has columns like item-name, size, color, description, etc. I want the user to be able to submit a search string like 'small red shoe' and return only...
  10. dragonwell

    Designing objects.....

    Also keep in mind that there are quite a few different code-generation and object/relational mapping frameworks out there for .NET that make stuff like this pretty easy. For example, there are at least half a dozen free code generators that look at your database schema and generate all the...
  11. dragonwell

    Context Switching

    Thanks for all the replies. I really like the actor/surgeon analogies. Since starting this thread I've not gotton any better at context switching, but the just awareness of it and recognizing it when it's happening helps somehow. _______________________________________
  12. dragonwell

    Context Switching

    I found a couple articles that support my feelings on "Context Switching" - that is, having to stop what you're doing to do something else (even for five minutes) costs you orders of magnitude more than five minutes of time wasted. The first, from Joel...
  13. dragonwell

    Transfer to Dynamically Constructed Page

    I think Server.Transfer expects a virtual path (url), not an actual instance of a page object. What you can do is place your variables that you want to pass along into the current HttpContext, and they will be available in the code of the page you transferred to...
  14. dragonwell

    OR mapping and stored procedures.

    There are a couple of O/R Mappers that I know of that fully support stored procs: iBATIS and the Wilson ORMapper. I like Wilson because by default it uses dynamic sql but you can override this and use stored procs whereever necessary. With iBATIS I am pretty sure you have to write all your...
  15. dragonwell

    NEWBIE: Is this a proper class design?

    Good point, Gil. This sounds like what the domain driven folks call ubiquitous language.
  16. dragonwell

    Have multiple ASP.NET web projects share pages and controls

    well, you said it better :-D _______________________________________ Business Logic:"AND when tweetle beetles battle with paddles in a puddle, they call it a tweetle beetle puddle paddle battle AND..." - Dr. Suess
  17. dragonwell

    Have multiple ASP.NET web projects share pages and controls

    I think this is referring to the web application project model that was not part of the default install in vs 2005. see http://webproject.scottgu.com/ _______________________________________ Business Logic:"AND when tweetle beetles battle with paddles in a puddle, they call it a tweetle beetle...
  18. dragonwell

    Breaks in Identity sequence

    What are the reasons why a table with an Int Identity column would be missing records of certain sequences (aside from someone actually deleting)? The obvious answer is if a record was inserted during a transaction but the transaction was rolled back. But is there some other condition that...
  19. dragonwell

    LazyLoad - what is it?

    No problem. I hope you found what you were looking for. _______________________________________ Business Logic:"AND when tweetle beetles battle with paddles in a puddle, they call it a tweetle beetle puddle paddle battle AND..." - Dr. Suess
  20. dragonwell

    Optional Keyword / Overloading

    You might also create a class to contain the data in all those parameters, and just pass in an instance of that class. For instance... Public Class PaymentRequest Public Property MerchantCompanyName As String... Public Property InvoiceStatus As String ... ...etc End Class The...

Part and Inventory Search

Back
Top