Questions tagged as 'c#'

0
answers

Problems with EF in the following code

I have a method which is called in the constructor of my controller Home in the created roles when starting the application and assigned a specific role to a user, it happens that I do not create any record in the db, in addition to debug the co...
asked by 17.08.2018 / 19:53
0
answers

ModelState.Isvalid is always false

my model: public class Unidad { public int UnidadID { get; set; } [Required(ErrorMessage ="Unidad Abrevidad no puede ser vacio")] [StringLength(50)] [Display(Name ="Unidad Abrevidad")] public string AbbreviatedUnit { get;...
asked by 15.08.2018 / 06:28
1
answer

Generate PDF WITH SSRD

My doubt is that I have generated a group of 40 rows but the tablix still only generates 14, what I want is for the detail to be shown without repeating the header What I want to do is that the image 2 no longer appears but the detail is show...
asked by 15.08.2018 / 01:01
0
answers

Help create my XML tree

Hi, I have a problem with creating an XML tree, I'm starting but I would like you to paint this line at the beginning "" "" "", if you can also close it but only read the "UBLExtensions" but not the ext: and when I put it as a string variable to...
asked by 24.08.2018 / 17:45
0
answers

DropDownList AutoPoskback does not work in UpdatePanel

There is a user control which implements a user control, this internal user control has an UpdatePanel and a DropDownList with the AutoPoskback property equal to true . The main user control has a button that performs the corresponding validati...
asked by 15.08.2018 / 23:48
1
answer

Server Error Path

When I go to find a route to the server I get the following error in the LOG, A trust must be established with the team for delegation and the current user account must be configured to allow delegation. It is worth mentioning that...
asked by 14.08.2018 / 16:38
0
answers

Error trying to assign result to object

When I try to assign values to an object from a deialized result (from an API, JSon). I get the following error: Unexpected token while deserializing object: PropertyName. Path 'studentID'. Here is part of my code: resultJSonRequest = re...
asked by 14.08.2018 / 18:17
0
answers

Visual studio C # and a PLC

How would you send the information to a specific PLC record from C # and how to identify that Registry? I am using the EASYbodbus library You are giving me an error I would like you to help me refer you: EasyModbus.Exceptions.FunctionCod...
asked by 14.08.2018 / 18:19
1
answer

Verify that all the fields in a list are equal

I have two related lists in C #: public class HandlingUnit { [StringLength(18)] [ExcelColumn("Handling Unit")] public String HandlingUnit { get; set; } [ExcelColumn("Created on")] public DateTime DateShipped...
asked by 17.08.2018 / 14:21
1
answer

add additional pages to report (rdlc)

Hello friends, good morning, I wanted to ask you the following: is it possible to add pages to a report (at design time)? I have to generate a patient file, in which several tables of a database interact, the consultations work, but at the ti...
asked by 17.08.2018 / 14:21