Questions tagged as 'c#'

0
answers

add column type DateTime

What I want to do is add the column with the same IdExamen that throws the result and subtract me with another of the same type. this is what I tried without success, someone who has gone through I am, thanks public JsonResult ContarTiempo(...
asked by 16.12.2018 / 15:12
0
answers

Upload attachments with an input file in SignalR

I'm having problems trying to upload an attachment (for example, an image) with an input file, and send it via chat via SignalR, the problem is that it fails to serialize the formData, because it is not sent correctly the data, how could it be s...
asked by 21.12.2018 / 14:32
2
answers

What event do I have to use to visualize data from a DataGrid of a selected cell?

Hello, how are you? I have a method that is working well for me but it's not really what I expect. private void dgFleteros_CellContentClick(object sender, DataGridViewCellEventArgs e) { DataGridViewRow row = dgFleteros.Curr...
asked by 15.12.2018 / 17:12
1
answer

Replace Return of Carriage and Line Feed CrLf in a Stream

I am reading a text file that has several CrLFs (at least 2 or more) and wishes to replace them with dashed lines or another character ... this image is taken from notepad ++ What I have tried is this code ... public static string Re...
asked by 14.12.2018 / 13:54
0
answers

When I make an ajax call it prints the web page and does not enter the function

I try to make a simple ajax call but out of nowhere I started printing the ajax call and it no longer comes to the webmetod and everything is correct, it did not move anything and it started to fail in that way. Ajax code function get...
asked by 11.12.2018 / 21:37
0
answers

Asp.Net WebGrid upload data through Ajax

I have a WebGrid, which I can load without problems through the past model in sight (MVC C # .net). Until there is no problem. But the need arises to be able to load another WebGrid control, but for that I need as parameter the Id of the se...
asked by 11.12.2018 / 14:06
0
answers

Get MS-Edge History with c #

I've been looking to get the MS-Edge history through a console application with c # but I have not had the same luck as with explorer using Interop.SHDocVw , I would like to know if it is possible to read it with an external library or som...
asked by 11.12.2018 / 14:28
1
answer

Problem to specify and generate a Main procedure in GeneXus

I'm using Ev2 U3. I'm having trouble making a build of a main procedure After all, the error appears as:    ========== DummyGenerarSello Compilation started ========== gxexec "C: \ Models \ SNAP_Ev2_EBG \ CSharpModel \ web \ bldadummyge...
asked by 10.12.2018 / 19:23
1
answer

Problem sending data to the controller from jquery ajax

I try to send a parameter to the controller from jquery using an ajax call and by POST. I get an error 500.    Failed to load resource: the server responded to a status of 500 (Internal Server Error) My controller's code is this: [Autho...
asked by 10.12.2018 / 10:54
1
answer

Remove border from MenuItem

I am working with WPF and implemented a Menu but I could not remove the border that appears in the Items. Here my code: <ControlTemplate x:Key="menuTemplate" TargetType="{x:Type MenuItem}"> <Border x:Name="templateRoot" Bor...
asked by 19.12.2018 / 17:42