Questions tagged as 'c#'

0
answers

Help in implementing an Asynchronous Progress Bar WPF C #

Good afternoon, I have an application where I run a long and slow process and would like to implement a progress bar that shows the percentage of the process that has already been executed, however if I implement the progress bar on the same scr...
asked by 07.06.2018 / 18:03
0
answers

Record manipulation (regedit)

I have an application developed in windows forms that manipulates some records in the following path: "HKLM \ SOFTWARE \ MINHAEMPRESA \ etc ...". This application was run as administrator and I have never had a problem handling these records, fo...
asked by 07.06.2018 / 22:26
0
answers

"Object reference not set to an instance of an object."

When I instantiate a class this error occurs. Classe : AnttLogDTO using System; namespace NewsGPS.Contracts.DTO { public class AnttLogDTO { public string jsonEnviado { get; set; } public string RetornoChecki...
asked by 07.06.2018 / 21:06
1
answer

GCHandler.cs Error Visual Studio 2017

Good morning, I am debugging my project and during the execution of it I come across the following error: Has anyone ever dealt with this problem and can you help me solve it?     
asked by 04.06.2018 / 15:31
0
answers

Questions about Picker in Xamarin.forms

I am creating a mobile application in which the user can register x ingredients and later can register products choosing which of the registered ingredients that product uses. In this perspective: Doubt 1 : I am trying to popular a Picker wi...
asked by 06.06.2018 / 00:43
3
answers

Insert text from textboxes and read only after |

Hello, I wanted to know how I can do so that the 2 textboxes inserts the IDs this way in txt: file.txt: id|192919 <---- textbox1 id2|29b9a92 <---- textbox2 And then when you open the program again puts it like this in the textbox:...
asked by 30.05.2018 / 16:24
1
answer

How to have the option to connect to more than one database in my C # Visual Studio application by app.config

I have a C # application that I did in Visual Studio. This application connects to a Sql Server database. I would like to put in my login a list option to choose another bank if I have more than one in my application. For example: a ctrl + c ctr...
asked by 30.05.2018 / 16:08
1
answer

Error when running Dropdownlist in ASP.Net MVC

I'm having the following error at runtime: System.InvalidOperationException: 'There is no ViewData item of type' IEnumerable 'that has the' SexID 'key.' Follow the code below: Model: [Required(ErrorMessage = "O campo sexo é ob...
asked by 29.05.2018 / 03:53
0
answers

Auto Refresh Textbox

I have Textbox where I search for products in my database. It has AutoCompleteMode = SuggestAppend and AutoCompleteSource = Custom . This Textbox is "populated" once the form is opened through FormLoad , this for...
asked by 29.05.2018 / 01:56
1
answer

Route problem with MVC 5 C #

I already researched, I spent 2 hours burning my skull but I did not find a solution. Has anyone ever had this problem? I have the following link: link Controller -> Fabricante Action -> EditarRegistro Param01 ->53 Param02 -...
asked by 08.06.2018 / 15:56