Questions tagged as 'c#'

3
answers

Inherited Form comes with no editing option at all. Use C # and VS 2017

When I create Form2 Inherited from Form1, I can not edit anything on it. Of course the padlock on the upper left has something to do, but how can I solve this situation? Follow the image for the best understanding. Thank you!     
asked by 17.03.2017 / 05:15
0
answers

use SqlDependency with [ORM]

I'm developing a service that should perform a procedure whenever a record as a given condition is inserted into the database. However, although you are using SqlDependency , I am not using SqlCommand , it is running and then disc...
asked by 30.03.2017 / 20:33
1
answer

How to make your program reliable - windows security

I finished a step of a program and we will start putting it into production, however, when running the program, the following message is always displayed: What should I do to make my program reliable? and stop displaying this message?...
asked by 31.03.2017 / 04:56
2
answers

Compile string as code

How can I compile a string inside C #? Example: Console.WriteLine(\"Hello World\"); . As if it were a eval of JavaScript? I had a project to load a code into a text file or something else.     
asked by 10.05.2014 / 02:10
0
answers

Unity - Identify texture in terrain location X Y

I have a terrain in unity, and was wondering if there is any way to identify what the texture is in a certain XY position on terrain. Example:     
asked by 19.09.2017 / 19:56
1
answer

Is it a problem with my architecture?

I've been a software developer for a long time, but I'm always looking to learn "different ways of doing things". I am currently working on a new project and decided to base the architecture on proposals suggested by the community using a combin...
asked by 04.01.2017 / 18:08
1
answer

How to delete objects from a list?

I have the following code: using (Context contexto = new Context()) { List<Cliente> listCliente = contexto.Cliente.Where(x => x.Status == 0).ToList(); } How do I delete this result from the database? Remembering that I have num...
asked by 13.06.2017 / 15:03
1
answer

Speech Recognition does not work [closed]

Why speech recognition does not work on Windows 7 or Windows 10. Developed by the Microsoft sample code and did not work, I found this code on the internet that shows it working on the person's PC and it also did not work. Installed here:...
asked by 10.01.2017 / 05:26
0
answers

Generating report with ReportViewer

How can I generate a report of an object and its dependencies in Report Viewer with C #? I have a Car class, where each Car has its Models. I can display a report with the separate Cars and Models, but how do I stay? Modelo1 Carro1 Carro2...
asked by 12.08.2017 / 18:49
0
answers

On my site is asking for a dll that does not exist in my project

I'm having this error. The question is not how to solve it, but understand why it gives ERR , if in my project this DLL does not exist. In localhost the site usually goes up without this Dll . I just want to understand that.     
asked by 01.09.2017 / 11:09