Questions tagged as 'c#'

1
answer

Open a modal form in a separate thread and then close it

When starting my application, I open a modal form in a new thread through a background worker, while data from a SQL Server database is brought in the main thread. When the process of bringing that data ends, the main form of the application...
asked by 14.07.2017 / 19:16
2
answers

Inconsistency in query result "isnull (column, '') returns a space"

During the process of producing a solution in C # records were saved forming a "folio" with a literal, a cell value and an id 'C'+ISNULL(Columna1,'')+Columna2 Example of result: C96 CX85 The queries have not changed, the same database...
asked by 27.07.2017 / 15:43
1
answer

Passing data from a DataGridView to Other in WPF

How about, I'm with an application and I want to pass the data from one DataGridView to another when I press a button and I also want to add a character of "+" or "-" when I press a button, I'm using the MVVM model in the project. I appreciat...
asked by 27.07.2017 / 17:58
0
answers

How to do Navigation User Control?

Hi, I'm doing a WPF application and I need a UserControl that allows me to show information and navigate between pages as shown below. I would like to know if there is one already done.     
asked by 10.07.2017 / 17:14
1
answer

Search for text in a C # Path

I have a winform application to search for a certain text within a file path. The problem is that it takes a lot in some searches and in Sometimes it falls. It would be convenient if someone can help me improve the performance of i...
asked by 06.07.2017 / 19:23
0
answers

Update ComboBox when changing the values of another ComboBox

such, I have a problem when I want to change the values of a combobox when other combos are changed and a button is clicked, and check and the sp that the information brings me is running well, but it is not it is reflected in the combo. I hope...
asked by 04.07.2017 / 23:52
1
answer

Error recognizing data model field with ADO.NET and ASP.NET

I am using Web APIS but only in the Controller. In my view I can not access the model, it tells me that a use is missing or something like that. What I want is to generate a type type input to capture the value and filter by customer name....
asked by 05.07.2017 / 01:01
0
answers

Conditional printing of DataItemTemplate in a Grid

I receive a status value that can be 20 or 90. Depending on the state, I decide whether to show the html or not. So far I was doing it with #Eval('Estado') and I was not giving any problem. The headaches have come when I have found the...
asked by 06.07.2017 / 11:44
2
answers

Create button by asp code and assign a javascript method

I am generating a button by code (I generate a button to delete, there is a button for each row of a dynamic table) and I need to generate an alert to prevent them from deleting information by mistake. Button boton = new Button(); boton.Text...
asked by 01.07.2017 / 00:47
0
answers

Java WebService in VS2017 with C # and Xamarin

Java WebService in VS2017 C # Xamarin Give the following error:    System.Net.WebException: Error: ConnectFailure (Connection refused) I have reviewed everything but it does not work, maybe you can give me an example and be able to g...
asked by 08.07.2017 / 14:45