Using COM objects in ASP.NET is a hell, while it comes to releasing memory. After; creating excel object and using it, just saying exlobj=nothing wont help. Instead we need to use ...
When you need to call Server.MapPath from a standard class, you must call it from the current context.
Most people try to make the argument that C Sharp doesn't have a lot of the helper functions like VB.NET. That may be true in some cases but not all. In VB developers have the luxury of using functions like IIF which accepts a boolean expression...
table.downloadBox {
width: 100%;
border: solid 1px #666;
border-collapse: collapse;
}
table.downloadB...
Developer .NET UPDATE—brought to you by SQL Server Magazine...
As Microsoft's solutions have grown more capable, they've also grown more complex to implement. But Microsoft's Patterns and...