Questions tagged as 'c#'

2
answers

Access peripheral devices through the browser

I'm developing a web system for financial control, you need to print invoices on a thermal / fiscal printer. Would it be possible to integrate this device with the browser or will I be forced to develop a desktop application for this?     
asked by 07.07.2014 / 17:34
2
answers

Questions about licenses

Are all programs made in "such" programming language free to market? and in relation to C # and javascript?     
asked by 29.07.2014 / 04:47
2
answers

Convert date format to MySql

I am developing software in C# and in this software I asked to inform the date of birth of the client in dd/mm/aaaa format, but only in the database the data type is only accepted in aaaa-mm-dd format, I wanted to know if th...
asked by 25.04.2016 / 17:38
1
answer

C # Web API 2 - AJAX Request for Method PUT Returning 405 (Method Not Allowed)

Good morning! I'm building a system using C # as back and React on the front, and I'm having a problem with two controllers (supposedly), but the error seems to be the same, every time I make an AJAX request with method of type PUT...
asked by 26.11.2018 / 13:51
2
answers

Put a datepicker in a mvc 5 view with jquery or similar

I have this razor in my view: <div class="form-group"> @*@Html.LabelFor(model => model.DT_AGENDAMENTO, htmlAttributes: new { @class = "control-label col-md-2" })*@ @Html.Label("Data de Agendamento", htmlAttribu...
asked by 11.11.2015 / 17:31
2
answers

No parameterless constructor defined for this object

I'm trying to create a parameterized constructor, as shown below: public class TestController : Controller { private readonly IAppService _servico; public DashboardController(IAppService servico) { _servico = servico;...
asked by 12.09.2018 / 15:53
2
answers

CheckBox concatenating string several times

Iwantedtoclickonthecheckboxandthenontheregister,savethealreadypredefinedvalueandservicename(description)inthedatabase.However,thedescriptionisaproblemforme,becausewhentheusermarksandunchecksthecheckboxseveraltimes,itendsupconcatenatingmorethanex...
asked by 28.02.2015 / 03:51
2
answers

button event with asp.net

I create a button in asp.net, put onclick "testBotao", and press f7, but it does not load the event, just the pageLoader. How do I capture the event?     
asked by 03.02.2015 / 11:34
2
answers

How to remove blank line "Return"

I have a TextBox where the user will type. I can not leave any blank lines (return "\ r") before sending them to the database. In my code, it works fine when it finds \r\r , but not when \r\r\r How can I resolve this?...
asked by 03.03.2015 / 18:54
1
answer

Timeout while getting a connection from pool

You're giving this error. I'm using postgres Erro ao buscar servidor por id: Timeout while getting a connection from pool. A first chance exception of type 'System.Exception' occurred in BackupDAO.dll Method public Servidor buscarPorID(in...
asked by 13.01.2015 / 15:49