Questions tagged as 'c#'

1
answer

How can I get a text from a textbox and display it in a label of another C # WPF? [closed]

I have the doubt of how to put the text that is entered in a textbox in another window. Explaining this: The user will login in a window, at the time of entering a splash will open welcoming, what I want to do is to appear the username you...
asked by 25.10.2018 / 15:48
0
answers

Problem of bindig in WPF with MVVM

I am working on a small solution that contains two projects. One is a data source and the other a WPF with MVVM. The code is uploaded in link The fact is that when I open a new window from the MainWindow by means of a button with its corres...
asked by 22.09.2018 / 06:59
0
answers

backgroundworker c #

Regards , I hope you can help me, I am a student and I take your help please. I have asked another question but I do not have much action. Interruption Mode Work with C #. I have in my MySQL database a table that contains several tho...
asked by 14.11.2018 / 16:29
1
answer

Browse element of a Hashtable in c #

Well it turns out that I have a program where you ask the user to enter a barcode, name and price of a product then I keep these inside a Hashtable and in another class I have a method called ValidData and in this receipt as parameter the Hashta...
asked by 22.10.2018 / 03:25
0
answers

Can not implicitly convert type (object) to System.Collections.Generic.IEnumerable

I carry out the implementation of an API with the DDD architecture (Domain Driven Design) but when defining the method for deserialization of a json file from which it receives it of type string . But it throws me an error because it needs...
asked by 14.09.2018 / 16:27
1
answer

Cast error int ActionResult

I'm using VS 2017 for a tutorial but I get the error: You can not implicitly convert the long type to System.Web.MVC.ActionResult How do you fix that? The controller public class DefaultController : Controller { private TablaDato ta...
asked by 08.09.2018 / 03:31
3
answers

Bold in iTextSharp

I'm working with itextsharp and I've been looking for and testing the subject of bold for several weeks. I've tried with this code, for example: Font verdanaBold = FontFactory.GetFont("Verdana", 7f, Font.BOLD); He tells me that a usin...
asked by 10.09.2018 / 09:13
0
answers

Read XML from a gridview field and display it in a datatable

Visual Studio 2012 - Web Application. I want to go through the gridview, when I get to the "REQUESTCONTENT" field, I'll go through it and insert the values of that field in a datatable. This is the gridview: And this is the xml in...
asked by 03.10.2018 / 17:28
1
answer

Open a PDF from a ListBox in C #

I try to open a document in PDF format from ListBox with C #. I manage to load the documents that are in the file but it is not displayed in axAcroPDF1 , what I want is to be able to load all the files to this ListBox and be...
asked by 04.10.2018 / 03:45
2
answers

Convert time in HH format: MM to int

I'm at a crossroads it turns out that I'm making a .Net application that receives me an example value 00:34 and that value I want to convert to int to pass it to the database example my time I get is: 00:14 and I want to convert it to an inte...
asked by 24.04.2018 / 15:07