I have an application with digit buttons and I want to capture the keystrokes and execute the events of those buttons. I added an event of keypress in the window and tried to capture the key typed, but I could not.
Code:
private void...
I started to study a little web api using with asp.net, I am doing a very simple example where I just want to list the data of the employee table, but I get error: No MediaTypeFormatter is available to read an object of type 'IEnumerable'1' fro...
Good morning, I have the following code:
var faceImage = new Image<Gray, byte>(new Bitmap(bm));
imagensFace[i] = faceImage.Resize(100, 100, Inter.Cubic);
faceLabels[i] = todasFaces[i].ID;
}...
I need to convert the contents of DataTable to List , I'm new to C # and I do not know the syntax.
public List < VoCliente > ConsutaCliente() {
DataTable tabela = BDOracleCliente.ConsultaCliente();
List < VoCliente >...
I was having problems with generating a chart, which is solved. The code below was ok and suddenly stopped, ie the service is not running on account I do not know what. When I call GetService nothing comes up, the var itemsgrid remains null...
In a financial system already built by another developer, the Boleto.NET library was used to generate Itaú tickets. I would need to add Santander's ticket generation support, but I can not figure out how to use the library at all.
The code of...
I'm having problems trying to find a solution so that when I click on a grid view, it passes the values contained in the line to text boxes.
My gridview is populated, but I need to find a solution so that when I click the row, it executes a f...
I have the following class:
public class Conteudo
{
public long Id { get; set; }
public string Categoria { get; set; }
public string SubCategoria { get; set; }
public string Descricao { get; set; }
public string Status { g...
I have a mvc web application and I have an action that should pass a parameter to a REST service. How do I pass a parameter to a REST service. I know I will have to implement an HttpPost, but how? Anyone know of a tutor who can help us?
EDIT...