Questions tagged as 'c#'

1
answer

C # Error Edit detail

Currently I have an error to edit the detail of an order, I want to pass the field iCode which is the code of the detail, but with this code I have the error that passes the code of the header of the order. In my view the detail is as follows...
asked by 26.06.2017 / 14:42
0
answers

Script tracking in SQL Server Profiler

Because when I execute this stored procedure, it behaves like this: Since C # happens like this declare @p2 char(13) set @p2='AGB17920' exec sp_nuevo_codigo @CodGrupo='AGB',@vcodarticul=@p2 output select @p2 In Visual Fox Pro it goes lik...
asked by 22.06.2017 / 16:25
0
answers

Why does a call to a SOAP service from a WebAPi throw an error?

I am trying to make a call to a SOAP web service from a method in a WebAPI. This throws me this error: An asynchronous module or handler completed while an asynchronous operation was still pending But I'm not calling the SOAP service with...
asked by 22.06.2017 / 15:41
4
answers

Error Creating Partial View

Trying to do a partial view in ASP.NET with C #, it throws me the following error, it is worth noting that I try to do it in different ways and it keeps marking the same error, it is the first time it happens to me with a view and I do not have...
asked by 22.06.2017 / 18:28
1
answer

Is it appropriate to handle controls based on your name?

I have a set of TextBox that are called for example: TB_Nombre, TB_Calle, TB_Telefono and TB_Email, which will be fed from a BD and which fields match the name, so make the following code: List<string> d = new List<string>...
asked by 04.07.2017 / 01:36
1
answer

Notification sent from vs c # using firebase

I am new to learning Firebase cluod messaging, I have an app developed in android studio configured to receive fcm notifications, everything is fine here, since the firebase console sends messages and they are received without problem. On the ot...
asked by 23.06.2017 / 18:24
0
answers

Problem to send a "Composite" Socket telegram

Good morning StackOverflow! I'm immersed in a problem that I do not know very well how to solve in a "professional" way without doing a lot of code and getting my head in the thick of things. I am sending a telegram to a team via TCP socket,...
asked by 24.06.2017 / 07:31
1
answer

Pattern development with C #

They passed me a program in C # in POO, I have my notions that they are classes and objects, but I wanted to know why in PRODUCTOMODEL first instance Producto pro=new Producto(); and then create Product p to later match. Then I s...
asked by 17.06.2017 / 23:43
2
answers

Page consultation with Linq

I have the following driver: I need at the end to send you the invoices but paginated but to 20 ... public ActionResult Index() { //se trae la informacion de la base de datos y/o modelo var factur...
asked by 18.06.2017 / 01:06
0
answers

I try to update a table using the lines that have a datagridview and the values are inserted empty

cnn.insertarimagen(textBox1.Text, pictureBox1); First I insert an image to the table and a name to the image and then I try to update, but the values update, but the values remain empty, not null but empty, apparently the variables that you c...
asked by 18.06.2017 / 13:11