Questions tagged as 'c#'

0
answers

c # GetLastAccessTime always returns the same value

Working under Windows 10 HE, I always get the same DateTime using any of these: File.GetLastAccessTime("file"); Directory.GetLastAccessTime("file"); new FileInfo("file").LastAccessTime; After using, opening or reading the file, it always re...
asked by 19.12.2018 / 16:40
0
answers

Chart (graphic) with various data c #

It turns out that I have a chart in which I must list about 200 data and when you get to about 40 data, the chart is disarmed, is there a way to give next page and jump to other data and display them on the same chart? or any way to list the app...
asked by 13.12.2018 / 19:28
1
answer

How to consume a Toi Rest of Tookan?

good afternoon, I'm a bit new in the API's Rest, I need to consume the following api: link , reading the documentation for what I understood is to perform POST methods, I do not know how to do it to consume it through GET, I use a console appli...
asked by 13.12.2018 / 23:28
0
answers

string was not in a correct format

I have this code to load a TextBox the last data of the Database and add 1 to carry a user count private void generaidusuario() { string sql = @"SELECT TOP 1 Id_usuario FROM Tab_usuarios ORDER BY Id_usuario DESC"; {...
asked by 09.12.2018 / 16:02
1
answer

How to iterate the time of a DateTime in C #?

How can I go iterating the time of a DateTime. DateTime horaseleccionada = Convert.ToDateTime("10:00:00"); DateTime horactual = horaseleccionada; for (int i = 0; i < llegada.Length; i++) { DateTime horaconvertida = horactual.AddMinute...
asked by 09.12.2018 / 16:25
2
answers

how to include database in the C # project and use it locally?

I have a system in C # for inventories that uses Sql server is already finished, but now if I want to sell or install it on another computer I would have to install sql server Express to the client and that does not fit me, as you do if you Are...
asked by 17.12.2018 / 22:30
1
answer

server-side printing

What is the best way to print an HTML on the server side ?. I am generating an HTML on the client side (with javascript and css) to print it (using window.print ()). I do not want to also have to generate it from the server side the print. I wan...
asked by 10.12.2018 / 17:33
1
answer

I can not send my data from a dynamic table in C # mvc

Good, I have a question. I can not send the data entered by the user in my pivot table to my MVC controller and C # in my view I have the following: Function that creates the Dynamic table: function fn_agregar() { cadena = "<tr>...
asked by 10.12.2018 / 17:44
0
answers

Calculations in a datagridview

I want to make a table with a datagridview to enter with textbox data for example a column that is of loan another of interest another of payment to the week and the last the total In the total goes the result of the operation of (loan * interes...
asked by 08.12.2018 / 19:09
1
answer

How can I print directly (without a dialog box) on a website with angularJS to a Zebra bluetooth printer! MZ320

The issue is that I am creating a website and I need to print a ticket (as they are in the bank to wait) and for this I need it to be direct from the print button of my web app to print to the printer. I've searched everywhere and I can not find...
asked by 06.12.2018 / 17:00