Questions tagged as 'visual-studio'

2
answers

How to restore Visual Studio 2013 Ultimate window

I'm having trouble restoring the order of the toolbars and elements of Visual Studio 2013 Ultimate . Some have disappeared and others are in different places that usually (and by default) were. Is there any way to return this to default?...
asked by 24.08.2016 / 16:13
2
answers

Update SQL Server through Visual Studio ASP.NET web forms

I'm trying to do update in a DB, but I'm not making the changes to that command. When I do it in the direct query of SQL server it works, but when I do it from my application it does not do the update . This is the query in SQL Serv...
asked by 07.11.2018 / 05:30
1
answer

Create 'struct' with string fields of a length or array char with a length

I want to create a type 'struct' composed of some fields that must be an array of char with a certain length or a string with a certain length. Currently I have declared it this way: public struct Header { public char[] entityCode;...
asked by 21.08.2018 / 12:20
1
answer

DataGridViewCheckBoxColumn Checked

I have a check in the DataGridView, I wanted to know if it is possible that every time a value is added automatically it appears as checked     
asked by 20.12.2016 / 14:48
1
answer

Show data in texbox c #, edit and update?

This time I bring a little problem that is stinging me. It's about that I have a form of a web solution in c # with asp.net that I want to edit. The data I want to edit is a table called User made in Sql Server. The data of a particular user...
asked by 16.04.2018 / 22:25
1
answer

Object sender and take text

I have 3 different buttons but I want that when clicking on any of them, the text that this brings is saved in a variable by means of the object sender One of the buttons would be, for example, the following: <asp:Button ID="Btn_e...
asked by 28.06.2017 / 14:55
1
answer

how can I detect the delete key in a datagrid c #

   Hello, how can I detect the delete key (delete) in a datagrid in c #     
asked by 06.03.2017 / 00:02
1
answer

Perform unit test in Eclipse or Visual Studio

Having the following function: public int Suma (int numero1, int numero2){ return numero1+numero2; } Be in Java or C# . Is there a way to test this function without having to invoke it in the MAIN? So if I have several fu...
asked by 07.03.2018 / 19:12
3
answers

someone knows how to perform excel with asp c # with store procedure with parameters [duplicate]

I am making a report with a stored procedure that has 3 entries in it, one is the amount, date, option, and on my page it has 3 input entries to enter and when you press export an excel file is downloaded, the problem is that it shows me an er...
asked by 03.01.2017 / 22:11
1
answer

Error installing swagger in Visual Studio

I have created a Web Api and installed Swagger in my Project made in Visual Studio with C #. At the moment of running my project I get the following error:    Could not load file or assembly 'System.Web.Http, Version = 4.0.0.0,   Culture =...
asked by 04.11.2016 / 16:46