Questions tagged as 'c#'

1
answer

Write PDF text file line by line

I need to extract text from pdf files (line by line) but it does not write to me in the text file; class Program { static void Main(string[] args) { PdfReader reader = new PdfReader(@"c:\temp\textoPDF.pdf"); int intPag...
asked by 12.11.2018 / 18:58
1
answer

Can you add an image instead of the google dialer in c #?

In C # I declare my Google Maps bookmarks like this. marcador = new GMarkerGoogle(new PointLatLng(tbCoordenadaY.Text,tbCoordenadaX.Text),GMarkerGoogleType.red); But I would like to be able to add an image of a car as it appears in Uber....
asked by 13.11.2018 / 07:32
1
answer

How do I execute an action when I download a direct file in c #?

What I'm doing is a download of an Excel file when I find any record that already exists in the bd, this is mainly responsible for detecting it, not saving it and downloading an Excel indicating the repeating records, the problem begins when apa...
asked by 16.11.2018 / 17:36
0
answers

How to configure proxy in a C # application

I need to connect an application that I am developing in C # to the Internet through a proxy. For this I am using the class 'System.Net.WebProxy' of .NET in the following way: var webProxy = new WebProxy("proxy.uh.cu/estudiantes.pac", 80); web...
asked by 16.11.2018 / 16:17
0
answers

Show contents of a list in my body, with c #

Good morning, it is simply not a problem or error, but rather it is to want to visualize a list within a class Data, using postman as a test, I show you the following classes used. Class Datos.cs using System; using System.Collections.Gener...
asked by 10.11.2018 / 16:45
0
answers

How to make a line break in a datagridview c # when the text is too long

I have this project, see that since the description is very long it shows the ... What I want to know is how to take a line break when the string exceeds the width of the column. Thanks     
asked by 11.11.2018 / 23:54
1
answer

how can I avoid auto completion of a TexBox by pressing a Button without functions

I have a form that when filling the page, is filled with data, my idea is to replace the current data with the new ones, but doing some tests, and adding a Button without any operation, rewrites me again the fields, and whether it's empty or whe...
asked by 11.11.2018 / 17:30
0
answers

Problem using an @Html.LabelFor and @Html.textBoxFor of a Registration Form in ASP.NET MVC

I'm new to ASP.NET MVC. I am trying to make a registration form, for that I am guided by the same example that provides visual mvc. But at the same time I'm showing a datatable to list a class, in this case "PERSONAL" My controller calls the Per...
asked by 11.11.2018 / 23:20
0
answers

Send a post from javascript

I have a Create view that has its Action result for the POST, but I want to call it from javascript. I want to pass the value of a textbox to the controller to be able to handle it and return the Create view again but now with a model already...
asked by 10.11.2018 / 21:12
0
answers

Ways to create a ListBox with transparent background

First of all I have to say that I have already created a ListBox with transparent background thanks to the contribution of another person in the English forum . The problem is that even having obtained the result I was looking for I a...
asked by 09.11.2018 / 17:39