Questions tagged as 'c#'

1
answer

I have problems sending my credentials and consuming an API

I already managed to solve my question about the token, now what I have problems is how I can upload a file of txt format that I have saved on my disk D in a folder called SENDSUNAT \ doc.txt once I return that, I generate a ticket to which I co...
asked by 16.07.2018 / 23:18
1
answer

Error System.Web.HttpException when doing a Response.Redirect

I have an action filter that validates me if there is a data or this is true or false to then redirect to an external url. Redirection works well. But I have the filter in my controller globally and when I enter the controller...
asked by 26.06.2018 / 13:41
0
answers

show sql data in asp .net?

I have the following code to show data from a selected sql and I want to show that data in the following way, but it does not show them to me. And if I put it inside a repeater "he repeats it several times" and I only want to show it once....
asked by 21.06.2018 / 15:12
0
answers

Import method when saving with C #

Import method when saving with C # My question is how do I set the MonoDevelop for when I use a method and save this automatically? When I program in C # and use some method like (example) System.Threading and I use the method but I forg...
asked by 24.06.2018 / 04:27
1
answer

Pattern finder [duplicate]

I return to a question I asked a few days ago. The intention is to create a program that generates a template like the one shown below in an "intelligent" way. That is, a sequence generator that will vary according to the values for S, E or A....
asked by 21.06.2018 / 11:07
1
answer

How to delete an Entity record with a linq query?

What I want is to delete an entity framework record through a linq query that only gives me a slight error: linq query code: var context = GetDbContext(); var listadoV = from Ar in context.archivo wher...
asked by 22.06.2018 / 21:44
0
answers

Print on an Intermec PM43 labeller

I have to print some barcodes on a label (which measures 4 x 3 inches), the barcodes I send them to a panel doing them with the library BarcodeLib, after reading a code this throws another that I have related to a database and display it in a pa...
asked by 22.06.2018 / 22:53
0
answers

Is there a way to add sql data depending on the GridView row? ASPX and C # with Visual Studio

My idea is to show in a GridView information that I have of tables in my database, as I need to show two Codes of a product, I have to call two SELECT, one for each code. I want the end user to visualize a summary of some sales, in the following...
asked by 22.06.2018 / 16:59
1
answer

Get value of a Javascript function in a variable C # mvc5

I need to store what returns a JavaScript function inside a variable in a C # view with razor in mvc 5. For example, what this function returns: function fechafin(){ var ff = document.getElementById("ffin").value; return ff; }...
asked by 21.06.2018 / 04:02
0
answers

How to validate the fields in the database?

I want to know how to validate when a number that is inserted from the application is greater than the value I have in the database so that it is not less than zero or when the value is equal to zero, I am programming in three layers, this It's...
asked by 22.06.2018 / 14:32