Questions tagged as 'c#'

2
answers

Connection error with database .MDF C # Visual Studio

App.Config <connectionStrings> <add name="conn" connectionString="Data Source=.\SQLExpress;AttachDbFilename=C:\Sistema\Sistema.mdf;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectio...
asked by 25.05.2018 / 01:03
1
answer

Send view to controller values by jquery

I'm doing an application in .Net C #, and I wanted to make an input and a button that would send the information to my controller by jquery/ajax , and I have no idea how to accomplish this, I need to pass the information by ajax...
asked by 21.05.2018 / 21:17
1
answer

Isolate and update only one Div

Is it possible to 'isolate' a Div and just update it? Example: I have the option to change the profile photo in the user, where as soon as it is changed from a reload in the page to update the highlighted Div : Allchangesaremadev...
asked by 21.05.2018 / 16:32
1
answer

Get or return a variable for the angle

I have a method where I do a certain validation and depending on the scenario, I need to return only one alert and continue with the request or a possible BadRequest also returning a message. I thought of trying to access a variable within...
asked by 22.05.2018 / 14:24
1
answer

Save form Razor

How can I make for my form not to do sumbit of the same form several times. I'm having this problem because some users are clicking save multiple times, not waiting for the update screen, so then you are saving multiple duplicate records. I f...
asked by 30.05.2018 / 22:25
1
answer

How to transform a JSON into a paged table / list using .Net Core MVC?

I'm studying API access and I'm using the Github API. I want to make a screen in which it is possible to search by name the repositories that beat with the last criterion. But the results of Github are huge, how can I do to page this list? No...
asked by 14.06.2018 / 07:56
1
answer

Print Spool Monitoring

I'm trying to make an application that monitors my printer and when the user sends an impression, of whatever program, it captures that information, pauses the printing and opens a new window for the user to enter a code. If the code is correct...
asked by 13.06.2018 / 21:16
1
answer

Post Method is not running on Postman

Creating a POST method and testing for Postman , I can not access the Controller of this POST . I did not implement a lot yet, but I should stop at Break if, of course, it was working. Controller [Route("api/[controller]")] public clas...
asked by 20.06.2018 / 16:12
1
answer

Call Form2 with Circular Progress Bar while another action is executed C #

I am having a question about calling a Windows Form. In this application, through the click event of the button located on Form1, call a second Form, where on this form2 I present an animated Progress Bar Circular running until another method lo...
asked by 18.06.2018 / 17:14
1
answer

C # - AsQueryable - Condition (Linq - Lambda)

In this method, I populate my 'rule' variable with all rules coming from Select, but I'd like to filter only the Status = True. How to do this? public async Task<BootgridResponseViewModel<ConsultaIntramexRegrasResponse>> ObterLis...
asked by 15.06.2018 / 15:11