i created my Form programaticall using System.Reflaction. i want to add database with SubmitChanges. i will get data from whole txtbox and using any loop to fill Entity property. And than Submitchanges.
public static void Save( PlaceHolder Holder)
{
if (Holder.Controls.Count > 0)
{
fo...
What is the best way to debug a namespace extension using Visual Studio? It's not convenient to use regsvr32 to register and unregister the extension and to restart the Explorer for each and every build. Attaching the debugger to the extension would be a nice benefit.
Is there a simple way to debug a namespace extension using Visual Stu...
i can this with ado.net but i want to use it linqtosql
foreach (string ky in ld.Keys)
{
cmd.Parameters.AddWithValue(ky, ld[ky]);
}
public bool AccessProcess(string sp, ListDictionary ld, CommandType cmdType)
{
SqlConnection con = new SqlConnection(WebConfigurationManager.ConnectionStrings["conn"].ToString());
SqlCommand cmd = new SqlC...
I am creating a Dialog in MFC and Adding Custom Control and When I try to do a DoModal the Dialog is not launching. but when I remove it Dialog is launching . I dont know what the reason is . Has anyone encountered this situation . How can this be solved.
I am using vs2008.Also I have xtremetoolkit.
...
In visual studio, when you add a reference there is a flag in the properties called, "Copy Local". There is some confusion about what this actually does and when. It seems easy to understand but my question is when does it copy local. Is it when the reference is added or does it copy the dll locally when the project is built.
The re...
Scattered throughout a software project I am working on are many lines of code that were written for debugging and utility purposes. Before I compile my code, I want a way to select whether or not these blocks of code should be included into my compile (something that won't require navigating the code commenting out). How can I do this?
...
I set version numbers in my assemblies to:
[assembly: AssemblyVersion("1.0.*")]
After first rebuild I got this version number:
1.0.3835.35633
<major version>.<minor version>.<build number>.<revision>
In MSDN article about assembly version attribute there is really short description:
The default build number increments daily....
When I develop a Windows Forms app in Visual Studio using C#, every control that I add to my form is by default marked as private, which is what I want.
When using VB.NET, every control is by default marked as Friend (the equivalent of internal in C#), which is not what I want.
Can I just change this default? It seems like surely it's ...
When I use the Data-List object in Visual Studio 2008 while creating a website, and select a data source, after I choose my data source and click OK it gives me this error:
I've searched the net and found that:
http://social.msdn.microsoft.com/Forums/en/sqlexpress/thread/43357002-3895-4fd4-aee2-59f86d594e70
I Installed the "Microsoft ...
Is is possible to reference a C++ project in a C# Project? I've tried adding a reference in the c# project to that C++ one but I get an error saying "A reference to could not be added"
...
This probably sounds like a stupid question, but I'm going to give it a shot anyway.
So in Visual Studio, you can't have two projects X and Y such that X references Y and Y references X.
In general, I can totally understand how having a circular dependency can be problematic, for a variety of reasons.
But is it really not possible to ...
I have a VBPROJ (plus all source) which as created in Visual Studio 2005. How do I import it into visual studio express 2008 ?
Please note that this is my first time using either VB or visual studio express.
...
I'm developing a local application with a DataBase in SQL Server 2008 and Visual Studio, C#, I created and connected to the Database in the application, but when I pass to work to another computer, copy the all solution files, the information that had been saved in it doesn't exist, actually the entire Database doesn't exist, so I ask: h...
I would like to make one numeric-only textbox. I'd like to then add that same to the control toolbox within Visual Studio 2008
I've already built the function to allow only numeric.
How can I make it available in the toolbox?
...
Hello again guys, strange error. One of which i cannot find any existing resources to solve the issue.
The issue is, when using Application.StartupPath I get pointed to a folder at "C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0". Naturally, this breaks everything which depends on the correct folder (the one my so...
When I 'Remove' a project from a Visual Studio solution I often want to delete it. As some other posts on SO have mentioned this does not delete the physical project from the file system.
The larger problem here is that after removing the project form the solution when I attempt to delete the directory from windows Explorer or the comma...
I use Microsoft Visual Studio 2010 Professional (I installed all components).
Here is what I'm trying to do. I create a new ASP.NET project. Then I open Server Explorer (View->Server Explorer), right click on Data Connections and choose Add Connection. Then I choose Microsoft SQL Server and press Continue, but the 'Server name' list is ...
What reasons to use localized version of Visual Studio 2010? What problems / benefits can you list while using localized versions? Are localized versions really useful?
...
How can I use dynamic LINQ in Visual Studio 2008?
I'm trying to use
using System.linq.Dynamic
but there is no intellisense. How can I use it?
...
hello, can somebody please explain what is the main difference between visual studio and Qt, thanks in advance
...