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
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
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
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
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
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
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
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?
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
use SCOPE_IDENTITY() here is more on the subject http://aspnet.4guysfromrolla.com/articles/062905-1.aspx
Cheers, Dani
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
can you post some code?
Cheers, Dani
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
You should use the DataFormatString property to format the data as you wish. In your case it would be something like: {0:#,###}
Cheers, Dani
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
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
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
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
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
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.
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