Questions tagged as 'c#'

0
answers

I do not understand the error that C # and the VisualStudio work environment is generating me

I am doing a project in C # using programming in Layers, although I know the language, I have zero experience with .NET and it is giving me an error that although it may be obvious, I do not find any sense.    Error NETSDK1022 "Compile" dup...
asked by 29.09.2018 / 20:58
2
answers

Add two columns in LinQ

I am trying to add two columns from a class, but I am manipulating them with LinQ I have understood that you can add but I can not find you, my code is the following, I would greatly appreciate your help. var Query = (from c in Concepto...
asked by 26.09.2018 / 23:19
0
answers

Block or freeze columns or rows with GridView

In my web project I downloaded an xls file, which I generated through a GridView. The file opens correctly and shows the correct data. The code is as follows: private DataTable tableExcel; public ActionResult returnExcel(HttpResponseBase re...
asked by 03.10.2018 / 20:31
1
answer

Not all code paths return value

I did the program in c ++ and it compiled but when I tried to pass it to c # I throw the error with message: Not all the code paths return value public static bool backtracking(List<Nodo> arreglo, int n, int actual, LinkedList<Nod...
asked by 27.09.2018 / 11:43
0
answers

wait time for ObexListenerContext object

I have a problem with the obexListener object, when executing the line: ObexListenerContext context = obexListener.GetContext (); That is waiting for the file that is sent by bluetooth and the program does not respond until it receives the...
asked by 27.09.2018 / 03:59
0
answers

Conversion Decimal OpenXML

I am generating an excel from data brought from a stored procedure in sql server. I bring the stored data in data table format and I generate the excel with this class: link My problem is that one of the fields is decimal and when I o...
asked by 02.10.2018 / 19:53
0
answers

The MouseDown event does not fire on an Image

I'm working with xaml and I have a problem, the MouseDown event is not running when I double click on an image, that's how I have the code: <Grid x:Name="gridContainer" HorizontalAlignment="Center"> <Image x:Name="bgImageDge" Sour...
asked by 25.09.2018 / 18:04
1
answer

C # Problem when serializing a class

I have the following XML in a variable of type string. string sCaf = "<AUTORIZACION><CAF version=\"1.0\"><DA><RE>97975000-5</RE><RS>RUT DE PRUEBA</RS><TD>33</TD><RNG><D>1</D&...
asked by 28.09.2018 / 17:17
0
answers

Out of Memory when reading an excel file with ClosedXML

I have an interface on the web, with MVC, c # and js, when I attach the file to the input, it keeps loading and after a while it gives me the message outofmemory. The file is read, saved in a datatable and then inserted in bd. There is some m...
asked by 24.09.2018 / 20:11
0
answers

Crystal Reports does not show new fields

Someone who could tell me Why can not I see the fields I put in crystal report ? I've tried everything I've found, but nothing works. As you can see in the following image I add the fields of info2 and the one of @ bar code But w...
asked by 20.09.2018 / 21:33