Questions tagged as 'c#'

1
answer

Change page in WPF project in C #?

I'm starting to work with WPF projects in C # and I'm designing the application with blend, but I can not find a way to change the page. I have a login and when I click enter, how can I change pages in the same frame?     
asked by 19.12.2018 / 18:31
1
answer

Consume WCP WebService with proxy and Anonymous Autehntication

I am working on a project that has two parts, a WCF application, which is hosted on IIS. This application is consumed by another application but desktop. The applications work perfectly, both in the development environment and in a production...
asked by 19.12.2018 / 21:57
0
answers

change column name when exporting datagridview to excel in c #

I have a datagridview that I fill by a query, the query returns values with alias, itm and I rename it as a product when exporting it, but when filling my excel it grabs the aliases of the query instead of the names of the datagridview column. a...
asked by 20.12.2018 / 17:50
0
answers

Problems when deserializing Json in Xamarin

Hello, I have a problem when it comes to consuming data from an api rest. I have the following class: public partial class Assignee { [JsonProperty("self")] public Uri Self { get; set; } [JsonProperty("name")] public string Na...
asked by 20.12.2018 / 15:32
0
answers

Problem C # Aforge VideoSourcePlayer does not show image

I have been trying to make the c # connection with the camera of the device (in this case laptop) using the AForge library and its components, the point set all the parameters with two buttons one to start and another to stop and a combobox that...
asked by 19.12.2018 / 04:04
0
answers

Error generating query in datatable with linq and backgroundworker

I am using the BackgroundWorker component to generate a task in the background, what I do is traverse a datatable and execute a search in a second datatable to verify if the data to compare exists, if so, then execute a store procedure. The p...
asked by 18.12.2018 / 14:33
1
answer

C # - Automapper :: convert object to a complex object

I have the following Request and Response structure: public class Action { public class Create { public class Request { public string operationdate { get; set; } public string action { get; set;...
asked by 18.12.2018 / 15:31
1
answer

TimeOut problem with WCF

I would like you to help me, I'm doing a service SOAP in WCF for which the problem falls by timeout of the service because I have a foreach of 14 thousand records and each one does something. But if it happens the 5 min it leaves...
asked by 21.12.2018 / 19:52
1
answer

Clear selected data from the datagridview

Hello, what I want to do is delete the selected data in the datagriedview what I have from my code button "Remove" (gives me erores) in the line foreach(DataGridViewRow c in DataGridViewSelectionArea.Rows) : private void BtnQuitar_...
asked by 26.12.2018 / 21:28
1
answer

Error deleting records from a DataGridView

My code does not show errors but when I want to use the button, it sends me this error, I would like to know how to solve it. My "REMOVE" button code private void BtnQuitar_Click(object sender, EventArgs e) { foreach(DataGridVie...
asked by 27.12.2018 / 00:01