Questions tagged as 'c#'

1
answer

Adding rows from an array to a list view Window Form

I am doing a project to solve the binomial of newton, this part is easy I was able to solve the problem in the console the way I wanted, I am now migrating to Windows Form and I have a problem to print the triangle of pascal in a listbox . I wan...
asked by 15.11.2017 / 18:23
0
answers

How to see the processes opened within Visual Studio? [duplicate]

Is it possible to know which processes are opened within Visual Studio via a shortcut key? I am debugging and the error message is that the file is opened in another process, I checked if it was the database connection, if it was another perso...
asked by 31.10.2017 / 13:45
2
answers

CellClick event, does not return DateTime value

I am writing some data in DataGridView and Event CellClick should fill DateTimePicker with the value already registered, but I am doing something wrong. Buttons: save, edit, delete, and cellclick event private void btnG...
asked by 30.10.2017 / 18:37
1
answer

Plugin to manipulate images with C #

I would like to know if there is a plugin that makes it easy to manipulate images, for example, add a photo as a component and be able to change scale, position and accept alpha transparency between several images that I add. If I have not been...
asked by 31.10.2017 / 21:03
1
answer

Get link from an image saved in bd

I'm developing an ASP.NET MVC project using C #. I have a page with a share button with facebook. The sharing button is already working, however I'm having problems because of the image tag, because it only accepts hyperlinks of images....
asked by 27.10.2017 / 13:00
0
answers

How to enable reports viewer

I have an application that uses rdl files, when opening in visual studio 2015 an error, and it appears as incompatible, however I already installed the data tools, and the report viewer, how do I solve this problem? This message appears when y...
asked by 13.11.2017 / 14:56
0
answers

Error placing conditional compilation in AssemblyInfo.cs file

When I put this in my AssenblyInfo.cs it does not compile #if DEBUG [assembly: Application(Debuggable=true)] #else [assembly: Application(Debuggable=false)] #endif and gives error in almost all classes.    Unexpected failure of the "Gene...
asked by 13.11.2017 / 10:38
2
answers

How can I tell if the connection to the database was successful?

I need some help. I started programming in C # now and wanted to do some sort of status for my program. Something like "Connecting to the database: Connected.". I made the connection and my program already puts everything I need in my MySQL data...
asked by 02.11.2017 / 23:26
0
answers

ASP.MVC ENTITY Code First (strange problem)

I do not know if I'm doing something wrong (probably yes). But EF is persisting the data in a DB and in a table that it creates alone. I've already repeated this step-by-step 2 times and the result is the same. 1-I create an MVC Web Soluti...
asked by 03.11.2017 / 19:00
0
answers

Send information to rest and trigger notification

I'm in doubt about building a REST , not well in building, but which way to go, what approach. See my business. 1) The customer requests a discount. 2) Because the seller is not allowed to grant certain discount margins, he changes a fla...
asked by 09.11.2017 / 19:39