Questions tagged as '.net'

1
answer

Textbox / TextEntry in a console application [closed]

Is it possible to add a Textbox to an application console?     
asked by 02.09.2015 / 14:05
1
answer

Static or Resource Class?

I want to abstract the frequently used phrases / words in my project, however, I have doubts where to put them Static Class or create a Resource ? What is the recommendation of best practices and performance? Note: This project...
asked by 10.05.2015 / 20:39
1
answer

CSS bootstrap does not load when the application is published in IIS

When I'm running the application in visual studio 2010 I have no problem with the CSS boostrap and javascript, but when I publish it to IIS, all javascripts and css's are not recognized. I created a simple page in html to test if it is a html fo...
asked by 27.05.2015 / 22:07
1
answer

Playing Query Data For DataGridView in C #

Hello everyone, I'm having problems with a listing. I have a DataGridView loading a list of products automatically and a combobox with the names of the categories, the idea is that when selecting a category and clicking the list button, DataG...
asked by 03.04.2015 / 19:12
2
answers

IoC with Ninject

I'm developing an application using IoC and Ninject for dependency injection, and I came across the following problem: When uploading my application to the server I get the following error: Can anyone help me with how to resolve this e...
asked by 17.03.2015 / 23:19
2
answers

Add SOAP Header in SOAP C #

I'm trying to add a custom header in a SOAP service using C # . I've tried everything and I have not found a solution that works. I am adding the C # Web Services service. I've already tried to override GetWebRequest , but it did not...
asked by 13.10.2016 / 15:42
1
answer

How to put image and text in the same cell as the DataGridView

How to put image and text in the same cell as DataGridView C #? I need the two to be displayed in the same cell.     
asked by 30.01.2015 / 21:23
2
answers

Store changed properties of a class

I need to have a list with (name and value) of the changed properties stored in the class itself. But I'm not sure what form I'm using is feasible. I have the Employee class below: public class Funcionario { public int IdFuncionario { g...
asked by 05.02.2015 / 14:16
1
answer

Unknown Supplier

I've finished an application on the C # Windows Forms platform and want to publish it to a site, but the application needs administrator permission to connect to the server and download to a Windows folder. So I exported my security certificate,...
asked by 01.02.2015 / 18:05
1
answer

Create a method to get records by id

In my CRUD I want to create a method obterPorId(Cliente cli) I want to get the records by code, or by name, or another field. How would you get the DataReader? a correct way, using a method that returns a client, eg: public Client...
asked by 01.02.2015 / 05:54