Questions tagged as 'c#'

0
answers

Library printCE

Someone can help me configure the following lines of code to use the printCE.dll library in c # to connect to a printer apex4 . PrintInfo info = new PrintInfo(); info.color_mode = 0; //En blanco y Negro info.printer = 22; //Impres...
asked by 02.07.2018 / 09:33
1
answer

How can I remove some columns from a table in c # that I bring from Mysql?

I want to show only some of the fields that I bring from my query, but when viewing them, they all appear in the grid List<Pojos.agregarProducto> lstProd = new List<Pojos.agregarProducto>(); MySqlDataReader dr; MyS...
asked by 01.07.2018 / 17:46
0
answers

WHY WEB API XAMARIN FORMS WORKS ON ANDROID AND NOT ON IOS

Some help I am passing an object with data to a WebApi service of the UPDATE method, when I copy in Android it works correctly but when copying it in IOS the field of PER_HEALTH and PER_STATE pass with null but no error in its assignment. Maybe...
asked by 01.07.2018 / 00:59
1
answer

Help with epplus formulas (Excel) c #

I'm doing an excel in which I made some formula, but when I take a cell that is the result of a formula, to use it in another formula it shows me in the cell literally the formula. As it is highlighted in the colors yellow is the range...
asked by 28.06.2018 / 22:13
1
answer

Export pdf file using ajax in MVC C #

I would like to know how to export an excel file using ajax, I have tried in the following way, but it does not work: $("#ajax_loader").css("display", ""); var formato = "PDF"; //window.location.href = url; //$("#ajax_...
asked by 02.07.2018 / 23:09
1
answer

Fill TextBox with TextMode = Date of Asp.Net from Date SQL

I would like to know how I can fill a "Date" type textbox with a date obtained from a SQL Server table Currently I have it like this txtFecha.Text = (((DateTime)firstTable.Rows[0]["FechaCredito"]).ToString("dd/MM/yyyy")).ToString(); Bu...
asked by 02.07.2018 / 19:50
2
answers

Have the user save the form online [closed]

I have an Access Control to an Application in C# (WindowsForm) where the stored procedure of Login loads me the data well. The problem comes when I try to generate an income (in another Form) and in my income table in SQL Server...
asked by 28.06.2018 / 09:00
0
answers

read Json type data from SQL and send it to a text file

Hello friends, start working on a C # code that you have to do only, read a query in my database (that query converts my table to Json type formats) then the result of the query has to be sent to a Json type file. I have never worked with Json t...
asked by 27.06.2018 / 07:07
0
answers

Consumption of Genexus Web Services 15

I want to consume a WebService that is published on the Internet to which I have access through a process that is being developed, the WSDL Import can not be used because the method that the service returns has a WS frame configured as Abstra...
asked by 27.06.2018 / 13:39
1
answer

How to add the characters of a string type sentence in a matrix?

I need to divide the characters of a sentence and eliminate their spaces and place them in a matrix, the order of the matrix will depend on the number of characters in the sentence, eh made this code but the error I have is that it shows me the...
asked by 26.06.2018 / 22:55