I made an edit function that works with 3 different models, the get loads the data of the id that I selected, but at the time of the post, the integers inside the dropdowns come with the attribute 0.
Here is my code for evaluation:
Control...
I have tried to pass the data from a .csv file to a datatable and the code seems to be all ok but I have been back from this error for quite some time and I do not know how to resolve it.
I have two columns in my .csv file and a string type a...
I have the following page using x.PagedList
@using AspNet.Models;
@using X.PagedList.Mvc
@{
ViewBag.Title = "Visualiza";
@model X.PagedList.IPagedList<AspNet.Models.Pessoa>
}
<h2>Pessoas Cadastradas</h2>
<div class="ta...
How can I make an SP that receives an object? This is my SP
ALTER PROCEDURE [dbo].[sp_alt_funcionarios]
-- Add the parameters for the stored procedure here
(
@id int,
@nome varchar(60)
,@dataNascimento DateTime...
Good morning everyone.
I am currently suffering from a problem and can not find the solution.
I have a login system in ASP.NET C # when I do the authentication everything happens correctly only so that's the problem I need to get the ID value...
Until two weeks ago the application was working normally and thereafter stopped working with the following error: "The request was aborted: Could not create a secure channel for SSL / TLS." I also inform that in this period there was no update i...
I have this method in my controller
[HttpDelete]
public HttpResponseMessage DeletaCidade(int id)
{
Cidade cidade = banco.Cidades.Find(id);
if (cidade == null)
{
return Reques...
I have an 'input file' that the user will upload the worksheet, I need to check if it is .xlsx or .xls and scan the data of that worksheet. After that, I need to save these items to Sql server.
On verifying the extension...
Is there any way to pass an interface as a parameter in the hub constructor? For some operations, I needed to access the repository layer methods through the interfaces. Is there any way to achieve this? Thank you.