Questions tagged as 'c#'

1
answer

How to send an object to an Asp.NET C # webservice?

I need to send an object of a class that I created to a webservice, but when I call the method it passes the object it types are incompatible. I tried to receive the object as Object, but an error generating XML document. How can I send this obj...
asked by 26.12.2014 / 12:38
1
answer

Open form in MDI and close one when opening another?

My question is, how do I open a form in an MDI and after opening another one the previous one is closed or simply adds MDI. I know this is not the right one but you can understand what I want! Form Consulta = new frmConsulta();...
asked by 25.12.2014 / 19:24
2
answers

How to insert into tables with many-to-many relationship?

I have a question about how I'm going to do the insert with relationship n:n My tables are: Recibo Analise Analise_Recibo (recibo_id, analise_id)     
asked by 20.12.2014 / 12:54
1
answer

Dates with JSON / Highcharts

I'm having a problem with dates when plotting a Highcharts chart using JSON object. Data for date information is being displayed as follows: TheserversendsJSONasfollowstotheclient:[HttpGet]publicJsonResultDadosAtendimentosParticularesPorDe...
asked by 06.01.2015 / 20:42
1
answer

How to retrieve the click on an array of buttons

I'm doing a mine field so I have to add an array of buttons on a panel (to be the houses). I created the array of buttons and added each [x] [y] button to a panel. But I do not know how to retrieve the click on a given [x] [y] button inside my a...
asked by 24.12.2014 / 07:26
1
answer

Playing an html class inside an asp.net code

I have this code: <%# Eval("DsPathDocumento") != null && !String.IsNullOrEmpty(Eval("DsPathDocumento").ToString()) ? String.Concat("href='/UpLoads/", Eval("DsPathDocumento"), "'") : "style='cursor: default; color:#000000;'" %>>...
asked by 08.01.2015 / 13:50
1
answer

Formula for calculating the general check digit

I need to calculate the The general check digit corresponds to the 5th position of the barcode, I have the following data. Thecheckdigitwillbetheresultofthesubtraction:11-remainderofthedivision.Ifthesubtractionresultis0(zero),1(one)orgreatert...
asked by 25.02.2015 / 19:42
2
answers

Picking Location from a POST

I'm using the HttpRequestHeader method to make requests ( GET and POST ), however I'm getting the Location parameter from the response of a POST and I'm not able to evolve. You have an example of my request belo...
asked by 25.02.2015 / 21:46
1
answer

Add selected values from a checkbox

I'm developing an application for a beauty salon, I'm using the checkbox component on the following screen: However,whenselectingacheckboxandthendeselecting,theprogramexecutes2timesthecalculation.HowdoIresolvethisissue?Code:     
asked by 26.02.2015 / 20:29
1
answer

Replication of database in WPF + EF system

I have a sales system in WPF / EF that is in use in different cities, but the database is in headquarters. I'm having trouble when the city link is too slow, resulting in a slow sale. Can I do a replication of this my database to the local se...
asked by 05.03.2015 / 14:01