visual-studio

Which control to use for working on data from databas

want is, can perform all operations on a table of a database, that is create delete insert records edit records/update etc. have used all the controls gridview datalist detailsview formview listview i would like to have your opinion as to "which control is the best to use, easy to program, and is user friendly, simple coding all...

VS 2010, NUNit, and "The breakpoint will not currently be hit. No symbols have been loaded for this document"

Hello, Using Windows 7 32 bit, VS 2010, .NET 4 DLL, NUnit (2.5.5) to unit test the application. I'm currently getting the following error; seen plenty of posts and tried the following: restart machine restart VS delete bin/obj and reload clean/rebuild But I cannot get NUnit to hit my breakpoints when running; I set the NUNit test ...

Crystal Reports/ Visual Studio Dynamic Parameter Fields Problem

Hi: I have problem with Crystal reports with .NET in generating a report. I have a report that gets data from a stored procedure ( sp_get_data(IN Claim_period)). The IN parameter that goes to the stored procedure comes from a table in database. It grows dynamically over period of time. I need to add parameter claim_period to the r...

How can I correct this in the visual studio 2010 theme?

I have recently moved to a dark color theme for all my code editors. It is much easier on the eyes. But I recently came across an issue that I can’t figure out how to correct and was hoping that someone will have an answer. When the method info box pops up this is what it looks like this: Notice the method info is unreadable because ...

Visual Studio 2010 MSDN Licensing?

Does anyone know how licensing work for Visual Studio 2010 from MSDN? I noticed it doesn't require a key. Does that mean that I can install it on multiple computers? ...

Is it possible to debug code that is being unit tested in Visual Studio 2010?

I have some code that is failing tests, but I can't understand why. I made the error of making a big chunck of code without making tests first / making tests during the coding. Now it simply doesn't work and I'd like to know if it is possible to put break points or something in the code that is failing so I can check on what is happening...

Using Debugger Visualizers in Visual Studio without having to copy its dll assembly to VS's folder

I know it is possible to create Debugger Visualizers since Visual Studio 2005. Now, what I'd like to know is if it is possible to use our Debugger Visualizers without having to put them in Visual Studio's folder. Although it is useful to have Visualizers for .NET's types as Bitmap, Image, arrays, etc, I wouldn't like to put in VS' fo...

How to join Jagged array with separator using string.Join?

How can i solve below string join error. i converted int value to string value but error occurs.... Look Join method using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace SortArrayYusuf { class Program { static void Main(string[] args) { //...

How can i fill 1D array from 2D array and how can i sort 1D array?

hanks everybody to help my idiot problem (look my before post:) ) . But i exactly need below. I should fill 1 dimentional array from legth of per cell Datatable. and sort 1D array linq and also without linq int[][] lengths; using (DataTable table = GetTable()) { lengths = (from DataRow row in ta...

how to unlock an ASPNETDB user account after bad password count lockout?

i'm new and using the login control with the ASPNETDB visual studio generated user database i set a maximum bad password count of 5 in web.config and tested to the point that an account was locked out. i am however unable to figure out how to unlock the account now. this problem is on my remotely hosted site, so this isn't something i ...

in C# is there a way, in the debugger, to suppress a exception from breaking into the debugger?

I'm using VS2010 in C# there is a place in my code where an exception is thrown and properly handled. the problem is that I'd like to configure the debugger to break on all exceptions, handled or not - all exceptions but this one. My goal is to see all the thrown exceptions in the debugger, but this one exception is driving me bonkers ...

VS 2010: Prevent display of Build Summary in the output window

In Visual Studio 2008 when you build in 'quiet' mode the build output window looks something like this: Compile complete -- 0 errors, 0 warnings ------ Build started: Project: JLTA.JBS.UI.Office.VSTODocument, Configuration: Debug Any CPU ------ ------ Build started: Project: JLTA.JBS.UI.Office.VSTOWorkbook, Configuration: Debug Any CPU ...

Why do I get an intermittent msvc++ link error?

Maybe 1 times out of 5, I get this error on a specific machine (incidentally, our buildbot) but it never occurs on my dev machine. I'm hoping that there's a hotfix for this from Microsoft, but I can't find one. LINK : fatal error LNK1104: cannot open file 'Debug\synergy.lib' It might be worth noting that this is using the 64-bit build...

Visual Studio Setup project to NSIS importer

I have a setup/deployment project that I've built in Visual Studio for packaging my WPF app. I now want to build an installer in NSIS for packaging my app. Is there any tool through which I can import my VS setup project into NSIS? ...

Is there a way to 'expand' the #define directive?

I have a lot of "stupid" #define in a project and i want to remove them. Unfortunately, i can't do a simple search&replace, since the #define is parametrized. For example: #define FHEADGRP( x ) bool _process_grp##x( grp_id_t , unsigned char ) This is used to generate headers of a couple of functions. I would like to somehow do the sam...

Visual Studio 2008: Smoothly switch between Emacs and default keybindings

Is there any way in Visual Studio 2008 to smoothly switch between using Emacs keybindings and the default ones? I will soon be doing some pair programming and I need my Emacs keybindings to keep myself from going insane. ...

How can i select data with linq part by part of rows?

i want to select data from datatable or sql table or list 50 rows by 50 rows. Forexample: var list = from x in dtable select x ----- > first 50 rows Click next button for GridView next 50 rows . And than 50 rows whli clicking next button to monitor GridView? For Example Data : static DataTable GetTable() { ...

how to disable delete Data when i compile application in visual studio using Ado.net?

how to disable delete Data when i compile application in visual studio using Ado.net? Microsoft Access 2010 ? ...

How to find a "method usage" all along a VS solution by specifying its parameters that are not NULL?

Hi, Is it possible in VS -maybe by using Resharper- to find a method's usage which has some of its parameters NOT set as NULL. Imagine I have this method: public string MyMethod(ParameterClass param1, ParameterClass param2 , ParameterClass param3,ParameterClass param4) { // Some processes return "Hello Pandora!"; } and I want to...

Which Visual Studio Command Window commands to you find most useful?

I've only recently started using the Visual Studio Command Window, and for the vast majority of the time, it's in order to use the of (open file) command. Which commands do you find the most useful (and what do they do, if it's not obvious)? ...