Questions tagged as 'c#'

0
answers

Perceptron of two entrances

I'm trying to program a percepton. What you must do is recognize when a AND is true or false, through two input data and their weights, and finally print the number of attempts that were necessary to learn. The problem is that it leaves t...
asked by 08.08.2018 / 12:52
0
answers

Create a class c # from an xsd

I have a problem generating a class from an xsd. the xsd <?xml version="1.0" encoding="UTF-8"?> <!-- Library: OASIS Universal Business Language (UBL) 2.1 OS http://docs.oasis-open.org/ubl/os-UBL-2.1...
asked by 08.08.2018 / 01:01
0
answers

I do not recognize the reference of my class library

Hello friends I am working on 3 layers with WebForms and I am already in the presentation layer, I try to run the layer in some browser and I get this error:    CS0246: Can not find the type or space name of   'Business' names (missing a usin...
asked by 08.08.2018 / 03:46
0
answers

C # use a DSN to connect to MYSQL

how is it going? Recently I am learning on my own to program from 0, following tutorials, reading forums, etc. So far every time I want to perform, for example from a Windows Forms application, some operation to add, read or modify records in...
asked by 16.08.2018 / 18:41
0
answers

Error in the userEntry.Invoke

I have a code to change the passwords of the active directory from the web, it seems good, but when executing and debugging the code, in the line of userEntry.invoke goes by catch and the exception says: "    An exception occurr...
asked by 16.08.2018 / 19:56
0
answers

communication between Visual Studio C # and a PLC

I need to make a system in Visual Studio (C #) that allows me to communicate with the PLC, but at the moment I can not find an alternative to obtain this communication. I was reading the MODBUS TCP / IP cominication, I can not understand. How...
asked by 08.08.2018 / 17:00
0
answers

Do not recreate the text in a view

I'm working with mvc and every time I switch to this' <div> <h3>TreeView</h3> @for (int i = 0; i < Methods.TablesList.Count(); i++) { string tableName = Methods.TablesList[i]; @Html.ActionLink(table...
asked by 04.08.2018 / 20:29
2
answers

GroupBox and CheckBox c # winforms

I have a groupbox with several checkbox in, what I want to do is go through all the checkbox and get its status and see if it is selected or not and save in a variable that result (checked = 1, no checked = 0) to late...
asked by 05.08.2018 / 19:21
0
answers

Can I change the format and extension of an excel file in C #?

I currently have this fraction of code: saveFileDialog.InitialDirectory = "C:/Escritorio"; saveFileDialog.Title = "Guardar Archivo en Excel"; saveFileDialog.FileName = ""; saveFileDialog.Filter = "CSV Files (*.csv)|*.csv"; But when I open t...
asked by 04.08.2018 / 18:53
2
answers

Update list from another list

Working with Visual Studio 2015 I have a list to which I want to update from a list B foreach (var item in entity.ProductoCatalogos) { foreach (var asignado in _listProductoCatalogos) {...
asked by 04.08.2018 / 09:13