Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

danidanidani

@danidanidani
About
Posts
24
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • StyleCop
    D danidanidani

    You have a good point there mate! I think they are useful as well, but are easily abused. I have seen developers using regions instead of methods.

    Cheers, Dani

    The Lounge html wpf com collaboration question

  • How to sell LINQ to DBAs?
    D danidanidani

    I totally agree there's much more to LINQ than DLINQ but I am keen on using this one as well because I see many benefits, especially in the field of productivity and maintainability. I will try to use the stored procedures as a "trojan horse" :)

    Cheers, Dani

    LINQ csharp linq com help tutorial

  • How to sell LINQ to DBAs?
    D danidanidani

    Thank you for your thoughts. I can see it going that way and it will probably be an "enforced architect decision", even though I usually prefer to get people on board instead.

    Cheers, Dani

    LINQ csharp linq com help tutorial

  • How to sell LINQ to DBAs?
    D danidanidani

    to be fair, that sounds perfectly reasonable and you would think it would suffice. however, you haven't met the DBA that I am facing. :doh: Do you have any other selling points?

    Cheers, Dani

    LINQ csharp linq com help tutorial

  • How to sell LINQ to DBAs?
    D danidanidani

    This is an interesting problem: how am I going to get my DBA on board? Let's say that I am convinced and I want to go LINQ. All the DBAs that I have talked to have had the same attitude towards LINQ. Can you point out any arguments that would make sense from this perspective?

    Cheers, Dani

    LINQ csharp linq com help tutorial

  • Generate Database From Classes
    D danidanidani

    Can you point me to any tool that could generate a database model (DDL would be great) from a reverse engineered model from C# classes (which are the DTOs) ? Or maybe a combination of tools?

    Cheers, Dani

    .NET (Core and Framework) csharp database com tools question

  • MsmqIntegrationBinding, poison messages and redundant calls
    D danidanidani

    While using MsmqIntegrationBinding to read transactional queues on multiple threads, when a poison message occurs (MsmqPoisonMessageException) it will set the service instance to a faulted state. When this happens, any parallel threads' transactions are rolled back (therefore the messages go back on the queue, even though they have already started processing). Assume that the process started by each of these messages is not transactional (therefore not enlisted in the transaction and not rolled back). The obvious choice is to move the poison message to another queue and restart the service instance. When this happens it will pick up the messages that have already started processing before and will cause redundant processing. Can you see any way to avoid this?

    .NET (Core and Framework) data-structures question

  • How to send /recieve mails in local network
    D danidanidani

    You cannot send or receive emails without a SMTP and POP3 server (well you can, but then you need to replace them with another protocol/server, such as IMAP). You could get around not using your networks' exchange server by using other SMTP and POP3 servers, but you will need some servers somewhere where you can access from within your network.

    Cheers, Daniel Balla

    ASP.NET sysadmin tutorial

  • how to get the last inserted Id With SQL Server
    D danidanidani

    use SCOPE_IDENTITY() here is more on the subject http://aspnet.4guysfromrolla.com/articles/062905-1.aspx

    Cheers, Dani

    ASP.NET csharp asp-net database sql-server sysadmin

  • TextBox problem
    D danidanidani

    you can either do it all client side and use the onblur event on A and B to call a function that checks both A an B for values and if they have values fills C with their sum or you can do it clientside using the autopostback="true" and then using the OnTextChanged event to make the same operations.

    Cheers, Dani

    ASP.NET help tutorial question

  • How to implement Thosand seperator in asp.net [modified]
    D danidanidani

    can you post some code?

    Cheers, Dani

    ASP.NET csharp asp-net help tutorial

  • response.redirect
    D danidanidani

    Sorry, I pasted an example but it was rendered as HTML. Let me try again: <a href="<%=MyFunctionCallHere()%>">My Link</a> hope this works.

    Cheers, Dani

    ASP.NET sysadmin tutorial question

  • How to implement Thosand seperator in asp.net [modified]
    D danidanidani

    You should use the DataFormatString property to format the data as you wish. In your case it would be something like: {0:#,###}

    Cheers, Dani

    ASP.NET csharp asp-net help tutorial

  • response.redirect
    D danidanidani

    You can still use your mehtods to create a dynamic URL and still keep it on client side. For example you could use inline code to output the dynamic string built by your methods. something like: [">My Link](<%=) where instead of the hardcoded string you would call your method (make sure it is protected if you use ASP.NET 2.0 or public if ytou use 1.1). In order to open a window with certain options I think you will need to use window.open

    Cheers, Dani

    ASP.NET sysadmin tutorial question

  • FireEvent in firefox
    D danidanidani

    In Firefox (or anything else but IE for that fact) you cannot use document.all which is a good reason to try to avoid it. Therefore instead of document.all you should use getElementById such as: document.getElementById("b1") Also, in Firefox you don't have fireEvent. You could instead either dispatchEvent (as described here: http://developer.mozilla.org/en/docs/DOM:element.dispatchEvent) or you could retrieve the handler yourself and call it explicitly

    Cheers, Dani

    ASP.NET tutorial question

  • response.redirect
    D danidanidani

    That is wrong with missusing Response.Redirect() (or at least one of them, as we could consider some scenarios where Server.Transfer would be better as well) but not with the feature itself. There are plenty scenarios where it is needed and there is no better alternative.

    Cheers, Dani

    ASP.NET sysadmin tutorial question

  • response.redirect
    D danidanidani

    There is nothing wrong with Response.Redirect but do you really need to do this in code? Can't you do it on client-side? Such as using a link button? in that case after click the browser is being redirected straight to the other page as opposed to posting back to your application therefore saving an entire postback.

    Cheers, Dani

    ASP.NET sysadmin tutorial question

  • Custom ObjectDataSource paging
    D danidanidani

    Can anyone advise on some design guidelines or known patterns to implement a custom paging on business objects to use with an ObjectDataSource?

    Cheers, Dani

    C# com design business question

  • use word macro
    D danidanidani

    I am afraid this isn't the exact solution. THe thing is, I need to embed this in my application so that it is transparent for the user (from an intranet web application I launch word through havascript to open a dynamic XML from a web service and an XSL to build the document - HTML). I don't want the user to interact at all (needs to be fully automatic) and it needs to be triggered right after the document loads.

    Visual Basic question database

  • use word macro
    D danidanidani

    How can I call a word macro when the document is loaded? (I cannot save it in the document) I tried with command line param but then it tried to run the macro before the document is loaded. Also saved it in the normal.dot template but I don't have a trigger to call it Dani

    Visual Basic question database
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups