Questions tagged as 'c#'

2
answers

Does the value of a textbox pass from one webform to another? ASP .NET C #

I have a webform1 in which I have a textbox sem.Text. Here is the code to pass that value to a second webform private string semana_x; public string semana { get { return semana_x;...
asked by 09.03.2018 / 19:50
2
answers

how to make a list within this range of dates?

DateTime MesActual = new DateTime(DateTime.Now.Year, DateTime.Now.Month,1); var anho = DateTime.Now.Year; var _mes = DateTime.Now.Month; var Ultimodiames = DateTime.DaysInMonth(anho, _mes); DateTime MesTermina = MesActual.AddDays(Ultimodiames - 1...
asked by 12.03.2018 / 15:56
2
answers

C # Connection with PostgreSQL through Npgsql provider

Hello the problem is that the connection is fine only when I am using the ODBC , but when I change it to the provider of PostgreSQL Npgsql , it does not let me connect it tells me that syntax error, I think the error is in the connec...
asked by 22.10.2016 / 18:18
2
answers

Does not consume my web Service from Ajax Jquery

This is my code $.ajax({ type: "POST", url: 'http://localhost/QM/QMUI/WebServicePrueba.asmx/ObtenerCategorias', //url: "CategoriaK.aspx/ObtenerCategorias",//ojitos data: "{IdCategoria :" + -1 + " }", // -1 trae la lista compl...
asked by 05.01.2017 / 19:28
3
answers

someone knows how to perform excel with asp c # with store procedure with parameters [duplicate]

I am making a report with a stored procedure that has 3 entries in it, one is the amount, date, option, and on my page it has 3 input entries to enter and when you press export an excel file is downloaded, the problem is that it shows me an er...
asked by 03.01.2017 / 22:11
1
answer

Error in consuming web service c # [duplicated]

Good morning, when I consume a public web service in C# I get this message. What can be due? The content type text/html of the response message does not match the content type of the text/xml; charset=utf-8 link. If you...
asked by 06.02.2017 / 15:19
3
answers

Does not complete the foreach cycle

I'm doing a method to invert words that contain 5 or more letters. The problem I have is that if my chain has more than 2 words, the cycle is exited. What am I doing wrong? (It's a Codewars exercise, I'm barely learning) public static string S...
asked by 03.11.2016 / 23:40
2
answers

How to install C # in SublimeText?

The problem is that now I want to program on this technology, but I do not want to download even the visual studio because it consumes resources and is quite heavy, so I want to start in a simple but effective way in sublime text and I would lik...
asked by 14.09.2016 / 21:30
2
answers

Problems with registering a .tlb file

The situation is as follows: I have created a small class library project in C # that allows me to perform certain operations. The name of the created file is, for example, MyFirm.cs . But since I need the component generated from C # to...
asked by 24.08.2016 / 19:55
2
answers

Use of js and c # in unity. Equal performance?

I'm starting with unity. And I see that you can use c # and js to program. My question is whether both c # and js would have the same performance. And if js can do all the functions that c # can do.     
asked by 25.08.2016 / 22:04