Posts by Hugo Guedes • 57 points
7 posts
-
0
votes0
answers510
viewsQ: Consume API Rest in C# by Ajax in jquery
Hello I have a C# API that Returns a JSON object Follows the code [HttpGet] public string Login(string Pass, string User) { Return ret = new Return(); try { UsuarioDAL DAL = new UsuarioDAL(); var…
-
-1
votes1
answer219
viewsQ: Record Video and Upload C# MVC
I have to record a 5s video on the webcam, after the recording upload this video to a folder. I have already searched several plugins in JS, I used this "…
-
0
votes3
answers2764
viewsA: How to make the selected menu active with jquery?
Guy Tries To Pass This By ID And Not By Class And you’re taking out and putting in the same function that’s contained. $('#item-menu').click(function (e) { $('#item-menu').removeClass('active');…
-
1
votes0
answers443
viewsQ: SQL Server Error When Converting Varchar to Integer Type
FOLLOWS THE ERROR Msg 245, Level 16, State 1, Line 2 Conversion failed when converting the varchar value '280-64460-2' to data type int. SQL DONE USE TOXICOLOGICO SELECT NomeUnidadeColeta,…
-
3
votes1
answer580
viewsQ: Pass Parameters to Store Procedure
Follow the Search Function Code public List<Pessoa> Buscar(string Nome) { using(var db = new MyContext()) { var Result = db.Database.SqlQuery<Pessoa>("EXEC SP_Busca_Cliente @Nome",…
-
0
votes0
answers285
viewsQ: Call Controller Search Action
I have an action in my controller that calls a service that does a search using stored procedure and returns a list to me. I made the form in the View to call this Action, only it’s not calling…
-
0
votes0
answers559
viewsQ: Error creating controller using Entity
In my Employee Registration project I have the following folders: MODEL CONTROLLERS DAL VIEWS From the moment I create a controller using the Entity that already creates me right my view he makes…