Questions tagged as 'c#'

1
answer

How to Handle and validate Time on a Form c #? [closed]

How to Handle Time on a Form c #? What would be the code to save and validate? Attached Graphic Example Image of what I want to do Example: .... Greetings     
asked by 13.10.2017 / 21:08
1
answer

Function to verify that a string has only letters c # console

Well, guys I'm doing a program in console, with functions, the program is about an invoice which you must enter the name of a person (name of the product, amount, price ect ..) and calculate the subtotal and total. But since we are working with...
asked by 07.10.2017 / 16:53
0
answers

MVC DropDownList retrieve model data

I'm trying to set the selected value of a dropdownlist from the database information. I load a list from the controller: public void cargarMotivosFinalizacion() { ViewBag.motivosFinalizacion = db.SFI_AtributosDbSet.Where (x => x....
asked by 08.10.2017 / 04:18
1
answer

Validate a textBox in C # Visual Studio WindowsForms

I have a textBox called txtSSID and I want to validate that only letters (not all), numbers and some special characters are entered: Do not allow letters like the ones I detail below (Uppercase or lowercase):    'é', 'ý', 'ú', 'í'...
asked by 07.10.2017 / 22:09
0
answers

Access to the DB from a Web Service

I need to access the database from a web service, for which I have several projects within the solution .. the web service, by itself initiates a timer, which executes an action every X seconds. This action is inside a class library (Business) w...
asked by 23.11.2017 / 16:49
1
answer

Problem when putting a dll or binary as resource c #

Usually when I put a dll or binary as a resource I upload it to a page and download the data as follows: web.DownloadDataAsync(new Uri("http://pagina/dll/ejemplo.dll")); Now what I was trying to do was to put it as a resource in the followi...
asked by 24.10.2017 / 14:19
2
answers

How to fill a DropDownList in mvc c #? [duplicate]

In my parameters I have "Option" which are -Gestion -Colegio -Estado -Pais I want to upload it to my DropDownList try in this way to load it but it's not like taking it into view, do you have any other method? Controller: public Acti...
asked by 24.10.2017 / 15:25
0
answers

How do I solve this problem in Xamarin Visual Studio?

Create a new project and at the start I got this error: Did someone go through this?     
asked by 25.10.2017 / 03:14
1
answer

how to extract rows from sql table field in String with C #?

Good morning, I would like to know how I can extract all the rows of a certain field in variables (String) using C #. For example: Campo = Usuario rows of said field: Juan Ana Jose put them in variables like this: String nombr...
asked by 02.10.2017 / 05:43
1
answer

Compare data from two SQL Server databases with VS2013

Visual Studio Ultimate 2013 gives you the possibility to compare Sql Server data between two databases and then synchronize them, I need to make that comparison and synchronization automatically and if it is in a better Wimdows Services, can tha...
asked by 02.10.2017 / 16:49