Questions tagged as 'c#'

1
answer

when executing the index generates this error

when executing the index it generates this error I am working with entity framework 6 my web.config <basicHttpBinding> <binding name="bsBinding" maxBufferPoolSize="214748647" maxBufferSize="214748647" maxReceivedMessageSi...
asked by 11.09.2017 / 22:02
1
answer

Multi Models in an ASP NET MVC view

Hi, I'm new to C # and MVC ASP NET and I have the following complication. I'm trying to flatten the data of different models in a single view to use this data in a form, to all this I found that I can (mix?) Two models or more in a parent model...
asked by 11.09.2017 / 21:16
1
answer

Manually fill in Chart in ASPX

I am trying to fill in a Chart with manual data, the code I have tried is the following: int[,] horas = new int[,] { { 0, 1 },{ 1, 1 }, { 2, 0 }, { 3, 1 }, { 4, 0 }, { 5, 1 } }; protected void Page_Load(object sender, EventArgs e) { Chart...
asked by 28.09.2017 / 09:52
1
answer

Error of type System.ArgumentException with MDI forms

I'm doing a program in visual studio, the problem I have is that I get the following error:    Unhandled exception of type System.ArgumentException in    System.Windows.Forms.dll       Additional information: The form specified as MdiPare...
asked by 23.10.2017 / 20:32
1
answer

How to recover the value of Func, Action of a Dictionary. C #

I'm doing a dictionary, in which the key is a String and the value could be an Action or Func. Dictionary < string, Action<string> > DicAction; Dictionary < string, Func<string> > DicFunc; Instance dictionaries; Di...
asked by 01.09.2017 / 14:20
2
answers

Problem generating the stamp for CFDi 3.3

Good afternoon, I am in the process of changing from cfdi 3.2 to 3.3. Once the original string was generated, reading in other posts I found a validator of it and it is correct, at the time of generating the stamp with SHA 256, it shows me an...
asked by 31.08.2017 / 18:18
2
answers

convert timespan to datetime and add to a datetimerpicker

I want to show a data type of time interval in a datatimerpicker, first I must convert, but I do not know how to do it private void button1_Click(object sender, EventArgs e) { TimeSpan a = new TimeSpan(12, 00, 00); TimeSpan...
asked by 29.08.2017 / 14:35
3
answers

How to place an image in an existing pdf with Itexsharp?

I have the following problem, I create a pdf form with Adobe Acrobat, in which you specified the variables and the relations private void FillForm() { string pdfTemplate = @"D:PlantillaFT.pdf"; FormatoGenerado = @"D:FichaTecnic...
asked by 26.08.2017 / 05:44
2
answers

Create image with what is in a tab control c # [closed]

Hi, I wanted to know how I could create an image with everything inside a Tab Control, inside this I have several pictureboxes and the idea would be to create an image that shows all those pictureboxes I do not know if I made myself understand...
asked by 07.09.2017 / 16:26
2
answers

How to start SQLEXPRESS 2016 service from console application in C #?

I have the following code of a console application in C # to start the SQLSERVER 2016 service, but I could not, here is the code and the code error. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sy...
asked by 25.08.2017 / 01:36