Questions tagged as 'c#'

1
answer

Problem with IsMdiContainer

I have 1 parent form (so to speak the menu) and a child form (employees form) using the property in the parent IsMdiContainer = true and coding in the tab used (click event) the following code: Ventana_empleados ir_a_emplead = new Vent...
asked by 28.02.2018 / 01:53
1
answer

How to receive images of sharepoint with api rest in Xamarin Forms?

SHAREPOINT: I'm trying to get in C # images from a sharepoint list, I try to receive them in a string but it does not allow me. The list has an image title, description of it and the image. I want to save them in the local database; the reque...
asked by 05.12.2017 / 15:50
1
answer

connect to a DB sql server selected at run time [closed]

I have a web app, which needs to connect to a bd sql server. This is achieved through the typical definition determined in conecctionstring in app.config. I need to be able to have a list of connectionstrmgs (definitions) in order to be able to...
asked by 10.12.2017 / 14:40
1
answer

Selection in table many to many MVC 5

Hello people, I am working on mvc 5 model first and I have 3 tables. -Roles -Roles Permissions -Permissions when creating the mapping of the database EF does not create the intermediate table (RolesPermisos) as it could make a selection of the t...
asked by 10.11.2017 / 14:23
1
answer

I want to know how to activate a TextBox when an element of the ComboBox is selected

Hello friends I have a question for you I have a combobox with three states Pending, Accepted and rejected, what I want is that when you choose Accepted I have a button enabled automatically in the form I am working in C # Windows Forms applicat...
asked by 08.11.2017 / 19:55
1
answer

compare a local file with another on ftp server c # [closed]

I have to compare two files, one in local and one in ftp server. The first thing is to compare them by name, if the names do not match I have to upload the local file to the server. If the names match I have to compare them by date of last modif...
asked by 03.11.2017 / 10:28
1
answer

Pass elements from a listbox to a two-dimensional array [closed]

What I want to do is pass the elements stored in a listbox to a two-dimensional array to later calculate centroids, I've tried but I go line by line instead of element by element OpenFileDialog abrir = new OpenFileDialog(); String ruta;...
asked by 11.10.2017 / 01:38
1
answer

Can I know if a website is down or does not exist with C #? [closed]

Cordial Greeting. Today's question is: Can I know if a page exists or is dropped using c # (or another that recommend)? Recently I have seen the need to monitor a website to know whether it is available or dropped, I have researched and I...
asked by 30.07.2018 / 13:08
2
answers

service that modifies the host file in c #

is to see if they could help me, is that I have created a windows service that should modify the host files, but it does not work, please someone to help me the truth I do not know what I'm failing. using System; using System.ServiceProcess; u...
asked by 21.11.2017 / 15:03
1
answer

Pass gridview to Crystal report with dataset? asp .net c # webform

Hi, I have a webform project in asp .net with c #, and in it I have an sql query to show data from several tables in a gridview (I did not put the complete sql query because it is a lot and it is from my work), and I want to export that table to...
asked by 16.03.2018 / 18:45