Questions tagged as 'c#'

1
answer

Apply MultiThreading (Parallelism) to my Scraping code in C #

I need help to speed up the scrape process I've done. Currently I do everything I wanted without applying threads, I need it so that while I go through a page getting information, another process go ahead with other pages and so on. Here is m...
asked by 01.05.2018 / 17:06
1
answer

Send mail and attach file with a web service

What I want is to be able to send an email with data that is digitized from my Windows CE project, the problem is that I create the website and put my two codes both the email and export data to excel but then two problems arise. With the s...
asked by 23.08.2016 / 18:06
2
answers

Generate table in view through a query to the database. JSON, JQUERY, MVC, .NET

I am new to the forum and I have broken my head all day because I can not solve this. I would greatly appreciate your help. I have a very simple application in c # .net. I need to generate a table from a json that (according to me) contains t...
asked by 28.08.2018 / 00:33
0
answers

To install a software created by me I must install a BD [closed]

first of all, thank you very much for reading. I'm a novice really, I'm interested in making software, with C #, a windows application which works with its own database. To develop it I am using SQL Server 2014, my doubt is once I finish th...
asked by 04.05.2018 / 08:11
4
answers

How to call a stored procedure from the Entity Framework 6 code first

I'm trying to call this stored procedure from C # alter PROCEDURE GetLecturasEnRangoDeFechas -- Add the parameters for the stored procedure here @fecha as smalldatetime, @idParteMaquina int, @inicio int, @inicioMasDuracion int, @dia smalldatet...
asked by 11.01.2016 / 17:44
2
answers

avoid repeated number in an array in c #?

I am trying to create a small program in C# that requests 7 number and validates and avoids the repetition of an array number (whole), this is my code: /* 24. Arreglos 2. Un programa que lea 7 valores enteros diferentes y los introd...
asked by 25.01.2018 / 04:47
5
answers

How to serialize C # objects to a JSON or XML file

I am working with a hospital system and I would like to know how I could export the information of my objects to files with a readable format such as JSON or XML , to be used as input to another program that processes them. These...
asked by 10.02.2016 / 23:36
3
answers

Instance individual class objects in a list

I try to instantiate several objects of the class Persona , which has three attributes, what should be the correct syntax to be able to instantiate it directly in the constructor of the list of people? // clase persona public class...
asked by 27.10.2017 / 19:45
4
answers

connection c # with postgres

I have a problem with this connection to pgsql. I do not know what is happening. I placed a breakpoint in each line of code and it enters all the lines but the user does not recognize me, I do not know if I'm doing it wrong or I'm missing someth...
asked by 04.04.2016 / 20:03
2
answers

Why can not Convert.ToDateTime convert string for the month of March? ("01-Mar-2017")

From the reading of an Excel spreadsheet I receive the following information: "01-Mar-2017" "Aug 1, 2017" "01-Jun-2017" "0" To validate this data I do: (I configure the cultural info to transform the date, I already tried "en-US"...
asked by 24.10.2017 / 19:44