Hi All,
I am exporting xml data to sql server 2008 database.
.net code: http://stackoverflow.com/questions/3600091/how-to-pass-xml-from-c-to-a-stored-procedure-in-sql-server-2008
Query to insert: http://stackoverflow.com/questions/3606649/querying-a-xml-in-sql-server-2008
Everthing is working fine if the file size is small. Now the ...
I am a C# dev with most of my experience with windows desktop app. I want to start development on windows 7 phone platform.
Where to start with ? Will it work with VS2008 or i need to have VS 2010 ? how to add the template for phone app development and how to add the win 7 emulator ?
What i need to install to start working on windows...
Currently, when I want to use Microsoft Chart Controls on a website, I need to add the following onto every aspx page where I want to use it:
<%@ Register Assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
...
Hello everybody
A few problem about instances are that Equals method doesn't provide true if even they contain same values. So trying to override Equals method provide much more slower than reference equality.
While i was thinking point of performance, i thought that it is stupidly to create 2 instance which is same but not same memory...
I am using Logging Application block with C#.Net 2.0. My code is logging the error information to a flat file. I have set all required configuration in web.config like listeners, formatters and categories, etc as described in msdn and it is working fine.
But the problem is, I cannot put more than 50 characters in le.Message property. In ...
What are the capabilities of an elevated privilege OOB Silverlight Application? How low down is it able to communicate? I.e can you get to FileSystem areas, MAC addresses etc? The reason I ask is that I am looking at creating a security model for a Silverlight Business app, that would disallow one registered user installing the app on mo...
I want to create personal folders during installation. I did the following steps:
Right click on your setup project ->
View -> File System
Right click on node “File system on
target machine” -> Add special folder
-> User’s personal data folder
Right click on node “User’s personal
data folder” -> Add -> Folder -> typ...
I have seen a question here where they implemented a generic dispose method that takes any IDisposable object and calls dispose on it. I would like to make this such that it can take variable number of args. However, I do want to restrict the args to be IDisposable at compile time. (This is because some people in my organization will en...
So I need to fix a query in a large application that I'm not familiar with. The application is live, and the issue is urgent. The query is killing our server. I found the query that is causing the issue, and I know how to fix it. I found it in phpMyAdmin's status or SHOW processlist. But I don't know which script is actually running it. ...
Hello
I'm looking for a horizontal tree view control that creates nodes in the following way -
|_______|
|
_______________________
| |
|_______| ...
Hi Friends,
I am working on an Window application using VS 2005.
here i have a scenario where i have to create a Docked window that auto hide like our 'Solution Explorer' or 'Property Window' in VS.
I have not find that such control in VS. Please, sugges where i can find this docked control.
...
I'm moving a .NET project from VS2005 to VS2010, and I've encountered a problem with some RDLC report files in my project.
Using VS2005 RDLC reports, I was able to refer to the value of child objects within parent objects. For example, in a textbox I could use the following expression:
=Fields!Customer.Value.FirstName & " " & Fields!Cu...
After Getting a System.Reflection.PropertInfo array for a class- Does anyone know how or if this array is sorted or do I have to Array.Sort(MySortMethods/Params)?
...
Hello all,
My system Uploads files to an IIS server and then i manipualate them and after finished doing every thing, i need to delete the original file, the problem is that the IIS "grabs" the file and i can't delete it, when i close the procces i can delete it manualy from the server, but until i close the procces i can't even do that...
Is there any relation to memory optimization when we call a method by using an interface.
Is only that method loaded in memory? When a invoke a method via an object are all the methods of that object loaded into memory?
...
Hi,
I want to know if pointers exist in .NET technology. If yes, is there any example for pointers in C#?
Please guide me .
...
I want to use shell executable in order to respect user preferences of application to be started, but I also need to know when that particular application is closed.
Process editProcess = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = filename;
startInfo.Verb = "edit";
startInfo.UseShellExecute ...
Hi,
I'm not able to write to the App.conf in .Net3.5.
According to this question it goes like in .Net2.0, but it doesn't work. I can read from the config like this:
var connStr = ConfigurationManager.ConnectionStrings[ApplicationConstants.CisConnectionStringName].ConnectionString
But it's impossible for me to write in that file, b...
I'm currently using ID3v1, but it has 30 characters limit for Title. So I'm forced to use ID3v2 I think.. Can someone give me proper link or library for that, cause I couldn't find it in Google.
...
I am trying to set up a proper way to do automatic versioning for my C# projects in .Net.
The requirements are:
the assembly is to be built only when is is not up to date. (normal behaviour in Visual Studio and via MSBuild)
When it is built the assembly is to get the proper version assigned.
I have found a solution to give me the ve...