Questions tagged as 'c#'

3
answers

C # arrayList of Objects

I have an arrayList called aL that contains vectors. ArrayList aL new ArrayList(); String[,] datos = new String[1,2]; elementos[0,0] = "Juan";...
asked by 06.09.2017 / 04:59
1
answer

Find and check checkbox of a node in a treeview

I have a treeview with all the directory and file structure of the PC where the application is running. When I start, I get a list of strings with several routes, for which I need to find the treeview node corresponding to each of them and mark...
asked by 12.07.2017 / 12:28
2
answers

Modify queries made by the scaffolding first database

I tell you a bit about my problem. By my boss's requirements I had to make an application using the first database technique and then use scaffolding (which I do not like). I was used to doing linq queries and calling them in my controller, n...
asked by 17.07.2017 / 15:47
1
answer

Open a view in a new tab from the Controller in ASP MVC

People, I have a problem, I need to go from the Details view to the DetailsController server, process something and then return to the Details view, but I need to show the content that I processed in a new DetailsPrint window, any ideas...
asked by 08.07.2017 / 19:11
1
answer

Connection error Mysql C #

At the moment of executing a select to connect to a Mysql database I get the warning of Mysql connection can not be open the code fragment I use is the following: private string mensaje; private string usuario; private string c...
asked by 21.08.2017 / 21:48
1
answer

Error CS1503 Argument 1: can not be converted from 'LoginSystem.Authenticate' to 'Android.Content.Context' LoginSystem

using System; using Android.App; using Android.OS; using Android.Views; using Android.Widget; using System.Data; using MySql.Data.MySqlClient; using Android.Content; using Android.Runtime; using Android.Text; using System.Collections.Generic;...
asked by 14.07.2017 / 13:21
1
answer

Xamarin Forms Error Ispassword

<ContentPage.Content> <StackLayout Padding="10,30,10,10" Spacing="10"> <Label Text="Protected Animal" Font="30" HorizontalOptions="Center" VerticalOptions="Center"/>...
asked by 14.07.2017 / 22:53
1
answer

SQL query that returns dates that do not exist in the result of the query itself

I am working with a database in Informix. I access it from a web application developed with C #. In a table called MC_turnosAgenda I have several records, of which I want to obtain only the date field, using DISTINCT to obtain only once each...
asked by 10.07.2017 / 18:07
2
answers

Encode in base 64 file C #

Hi, I'm coding a file in base 64 in c #, but for large files it does not work anymore. char[] base64 = new char[miArchivo.Length]; Convert.ToBase64CharArray(miArchivo, 0, miArchivo.Length, base64, 0); return Encoding.ASCII.GetBytes(base64);...
asked by 03.07.2017 / 11:02
1
answer

Hide / Show TextBox when the value of another TextBox changes

I am developing an application in WPF and I came across a small problem. I want that when the value of a TextBox is changed, other TextBox disappears, depending on the value of TextBox that is changing, I am using...
asked by 02.07.2017 / 02:42