Questions tagged as 'c#'

1
answer

How to add marked items to a checklistbox and how to delete them

The objective is that in a cheboxlistbox the elements of a textbox are added, these are marked and then I can select and delete these elements of the checboxlistbox. In the checklistbox I must add items to the list, and when they are added, they...
asked by 28.02.2018 / 18:27
1
answer

Problem with ConnectionString

I have a problem with the connection string: Putting it directly into the SqlConnection works for me: SqlConnection connection = new SqlConnection("server=DESKTOP-Q5REQCB\MSSQLSERVER01 ; database=Synergy ; user id = Synergy; password = Syne...
asked by 15.02.2018 / 13:06
1
answer

Distinguish touch from scrolling

I'm making an application that will be used on touch screens. The problem I have is that I do not know how to distinguish between scrolling and simple touch. I have a scrollviewer that contains a stackpanel where I am adding images. The idea...
asked by 26.01.2018 / 10:11
2
answers

How to read the value of an html block in C #?

I need to pass a block of html that has a label with a path of an image (this block is saved in the database), the path of the image I need to put in a function of c #. I already get the html as a string but I can not extract the value of the...
asked by 25.01.2018 / 16:29
3
answers

Problem ArrayList - C #

I have the problem of wanting to extract an element from an ArrayList as such, because when I have to use that element for some operation, it tells me that it is of type object, here is the example ArrayList Lista = new ArrayList() { 1, 3,...
asked by 26.01.2018 / 04:31
1
answer

How to show a row of a datagridview in the textbox of another form? c #

what I try to do is take a complete row of a DataGridView and show it in another form, it's for a search button, I want to write the name and when I select it in the gridview and press the button, that data appears in another form . Here is the...
asked by 19.04.2018 / 01:15
1
answer

Are there any examples of how to use "Confirm" from Acr.UserDialogs in Xamarin.forms?

I recently made an app from Xamarin.forms in which I disabled the hardware BackButton. This I did so that the App is not in the background when the user wants to leave and use only the buttons of the App. As a result of this, I made a butt...
asked by 12.01.2018 / 20:20
1
answer

How can I add elements to a .XML document?

I need to add nodes or elements to an .XML file saved in a location on my PC and I do not know how to do it ... for example in my file I have: <Empleado> <Nombre> <PrimerNombre>Efrain</PrimerNombre> <...
asked by 09.01.2018 / 20:49
4
answers

Listchar.toString does not convert correctly

I have a list of char , which I want to save in a string with the ToString method. The problem is that it saves me anything: For more information, the method, what it does is to receive the string changed from a T...
asked by 01.01.2018 / 15:46
3
answers

Dynamic text writing animation that identifies when to skip the line or if the writing space is over?

I have an animation that writes lines of text in a text box, but when it reaches the end of the text box, the words pop up to the next line in the middle of the animation. What I want to achieve is that the word skips to the next line before...
asked by 11.12.2017 / 21:56