How can i get test all data . i want to access test.stockdescid and test.barcode
please don't post :
foreach (var person in myQuery)
{
Console.WriteLine(person);
}
var test = (from s in stock.StockMaterials
where (s.date<= DateTime.Now
if (I...
I am sort of confused on how to access gyroscope data from the wiimotion plus using the wiimote lib beta 1.8. I know for the accelerometer you would do something like this:
Wiimote.WiimoteState.AccelState.Values.X;
For the wiimotion plus, I first need to initialise it by:
Wiimote.InitializeMotionPlus();
After that, I am unsure on h...
Hi There,
I recently installed AnkhSvn for VisualStudio in my laptop. It was fine initially, but I did not want to commit the files in bin directory and images in css directory so I added
"Ignore and delete"
to those folders (since i dint have a dedicated "ignore") command in the menu. After that, I tried to remove that property an ...
I am currently in process of making our application Large Address Aware. As experience has shown, there are some unexpected gotchas when doing so. I create this post to make a complete list of steps which need to be taken.
The development considerations listed in the AMD Large Address Aware guide provide a good starting point, but are b...
I'm a long time Eclipse/ANT user, and the people at my current job don't like Eclipse, and would like me to move to using Visual Studio. Are there any guides called "Moving from Eclipse to Visual Studio"?
I've found plenty of guides the other way on google ("Moving from Visual Studio to Eclipse") but not much in the other direction.
...
I've written a Visual Studio 2010 extension. It's a VS Package (in a .VSIX) file. It's got a toolbar, which has a single button on it.
The button is never enabled. I've looked at the MenuAndCommands VS SDK example and, as far as I can tell, I'm not doing anything different.
What have I done wrong?
...
Does anybody know if there is a way in Visual Studio 2010 to highlight and comment out lines in CSS files like you can with all other files (by clicking a button)? Perhaps a Visual Studio extension? Commenting them manually is cumbersome.
...
I am looking into the PureComponents .NET Suite for a WinForms project. The controls seem to offer a lot of nice function but we are concerned about their stability. Does anyone have experience with these controls?
http://www.purecomponents.com
...
EDITS corrected terminology from Intellisense to Smart Tag
OK, I readily admit that Intellisense/Smart Tags have spoiled me. I've grown accustomed C# in Visual Studio notifying you to add using import declarations when typing in a class name for a namespace that has not yet been imported. You get the nice little colored underscore whi...
Project being built on
ASP.net v 2
VB.net
IIS 6
SQL Server 2005 database
Would it be more convenient for me to build it using Visual Studio 2005 or Visual Web Developer 2010 Express? I.e., is VS2005 useless for web development projects since Vis. Web Dev has all the fancy new stuff?
...
We have a fairly big code base with several platform and build configurations, and our vcproj files keep growing exponentially. We are using visual studio 2005. The problem is that every time we add a build configuration or platform all file configuration needs to be multiplied for each files in project.
For example:
<FileConfiguration...
I'm trying to compile some code from a Windows API. It says that certain .lib and .h files must be included in the version of the Windows 7 SDK I am using. Visual Studio shows the .h files, but gives linker errors (L2019) when I try to build the project.
How can I check what version of the Win7 SDK I have, and how can I see if it includ...
I'm trying to use a Win7 API. I copy/pasted a code sample, and it won't compile because of LNK2019 errors. However, if I go to "C:\Program Files\Microsoft SDKs\Windows", I see that I have the necessary .lib files.
What am I doing wrong? Is it possible that the files are on my machine, but VS isn't recognizing them somehow?
...
I'm working with some older code, and I think the person who last built it was using Visual Studio 6. There's no .vcproj file, but the .dsp and .dsw files have the following headers:
(.dsp)
# Microsoft Developer Studio Project File - Name="[redacted]" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version ...
Hi
Ok, the first column in my datagridview is a checkbox. I have 'multiselect' set to true and that does indeed work. However, a user is only allowed to check one checkbox at a time, if they select another the original unchecks itself, how do I stop that? I need a user to be able to select, say 3 out of 5 rows using the checkbox so t...
Basically at work I commonly run into code like:
double pricediff = 0.0;
if(!string.IsNullOrEmpty(someVariable.ToString()))
pricediff = Convert.ToDouble(someVariable);
Instead of something like:
double pricediff = 0.0;
Double.TryParse(someVariable, out pricediff);
Is there a setting within Visual Studio that can produce a warni...
I have the .NET Target framework set to .NET Framework 3.5
When I try to debug with f5, i get the following message in a popup window:
"Unable to start debugging on the web server. Mixed-mode debugging of x64 processes is not supported when using Microsoft.NET Framework versions earlier than 4.0."
Of course when I set the target frame...
var ID, x,y
switch(ItemTypeNo)
{
case ItemType.A :
ID = from s in cntx.Tablo1
break;
case ItemType.B :
ID = from s in cntx.Tablo2
break;
case ItemType.C :
ID = from s in cntx.Tablo3
break;
}
...
Given a particular reference assembly, what is the best way of determining whether it is available in a client profile or not?
...