I have an insert that receives some parameters, but at the moment that the sql statement is giving this conversion error:
Error converting data type varchar to numeric.
//http://localhost:7630/api/AspNetWebApi/cadastrar/jogo/451...
Hello, I would like to make this comparison using a Guid , public Guid ClienteID {get;set;} . This code works by using int , I if , if my ClienteID == 0 I saved, and if not equal to 0 I change.
I want a way to d...
In the application I'm developing I use Views of type modal .
I use this code to display the modal :
<button class="btn btn-default details" data-id="@clientes.Codigo"><i class="glyphicon glyphicon-file"></i></button&g...
I have a form where I pass some fields via Helper.
Ex:<divclass="form-group col-md-6">
@Html.LabelFor(model => model.Nome, new { @class = "control-label col-md- 6" })
@Html.EditorFor(model => model.Email, new { htmlAttribu...
In a situation where I use ASP.NET MVC , can you cancel a AJAX request depending on the response of a modal? I'm doing something like this:
function atualizaStatus(sel, id) {
var $status = sel.value;
var $idAluno = id;...
Objective : Manipulate 2 models in the view using a ViewModel.
I made a ViewModel to encapsulate the 2 models, but I can not use one of them.
ViewModel:
public class BoletoConfigViewModel
{
public Boleto Boletos { get; set; }...
Good afternoon,
The return of Json brings the badly formatted date="/ Date (1420077600000) /", how to deal?
{"TB1":1,"DTADMISSAO":"\/Date(1420077600000)\/"}
ThisisthesectionwhereIsettheDatefield:$.ajax({url:"ObterFuncionario",...
I need to insert an API on my site that provides the weather forecast for a particular city, however, the ajax request always returns the error in the browser console. Follow below:
XMLHttpRequest cannot load http://developers.agencia...