Questions tagged as 'c#'

1
answer

Edit screen does not load the data on the screen

When entering edit mode, the edit should be filled in and only the city dropdownlist comes. See me cshtml below. @model TreinamentoCrud.FuncViewModel.FuncionarioViewModel @{ ViewBag.Title = "EditVM"; } <h2>EditVM</h2> @usin...
asked by 13.08.2018 / 15:51
2
answers

How do I add the elements of a Liststring to a listBox? [closed]

I have a List in a class, and in the main class I want to get this List and add its elements in a listBox and then display them. How do I do that? Thanks !!     
asked by 14.05.2016 / 21:14
1
answer

Setting cursor at the position of the string inside the textbox

I'm trying to make a mask for a textbox manually, and I'm trying to imitate the Windows calculator, where when the user types 1000 the code automatically places 1.000 and when I give txtPreco.Text = the course is in the begi...
asked by 12.11.2018 / 20:13
1
answer

Client directory access

I'm curious, can anyone tell me if there is any way to make my web application (in ASP .Net core case) be able to let the user choose a folder on their local machine, and my application have access to the files inside this folder that the user c...
asked by 06.07.2018 / 06:03
1
answer

datagridview does not fill in the fields (Windows Form) - C # - Visual Studio Comunnity 2015

Hello, I have a problem, I have the following problem: When I enter the data in the datagridview it does not "pull" the information to put on the screen. The DB is MySQL, Localhost and there are no errors. Here is the code: using System; using...
asked by 09.06.2018 / 05:05
1
answer

Generate standard-format txt

Alright? I need to generate a txt file with a default format as below: D00000002 200014002154129 $9997 7720 0000 0012 * 12/19 *CLARICE LISPECTOR *0014-00 215412-9 * %B9997772000000012^CLARICE LISPEC...
asked by 19.09.2018 / 21:21
1
answer

Load XML into xrRichText

In my application (Visual Studio / C #), I need to load a XML string in a xrRichText , so I think of converting during run time
asked by 07.05.2018 / 20:46
1
answer

Check certificate X509Certificate2

Is there any way I can verify that the A3 certificate is connected to the computer? Some kind of validation for example. I work with an application that makes use of A3 certificate, but I do not do this validation of whether the certificate is c...
asked by 10.05.2018 / 20:26
1
answer

How to create a basic browser only to execute embedded JavaScript codes

How can I create a basic browser in VB.NET or C # and execute JavaScript code inside it, and without showing the code? Because I wanted to hide my JS code.     
asked by 27.05.2018 / 01:07
1
answer

IIS Windows Server, Error executing application (HTTP 403.14 - Forbidden)

I'm having a problem at the time of running my application. My application is all done in Asp.Net MVC, using the framework 4.6.1. I published it on the server, but at the time of running the application, the error HTTP 403.14 - Forbidden...
asked by 24.08.2018 / 15:47