Questions tagged as 'c#'

2
answers

Modify the Json fomato with C # in .Net

I have a code that serializes and converts the fields of a database to JSON , through JsonConvert , and the problem is that I want to modify the normal format of JSON , which follows the structure as in this link . Here is...
asked by 23.09.2016 / 05:44
1
answer

Group in reportviewer and numbering

I have two drawbacks. The first one is like grouping some rows in my report. This is the report design And this is the result when I generate the report. Here I need to make a way for the two rows that are repeated to group the...
asked by 21.09.2016 / 00:14
1
answer

Pie Chart error public static double

I have 4 pie charts in ASP.NET C #, I use webservice and Jquery, something is not working properly. The main error is the following: I have a sliderbar that if I do not slip it in the first 10 minutes, the memory of the information that was s...
asked by 20.09.2016 / 19:56
1
answer

Parceable and unParceable in Androidstudio and .Net

Good morning Someone could help me how to make a Parceable to an entity in Android and .Net; and also make an UnParceable to an entity in android and .Net "I need both because in .Net I have the webservice." Thanks Happy day     
asked by 23.08.2016 / 21:56
1
answer

FOR cycle to add non-existent dates

I have the following cycle for to recover from 0 to 24 hours of a data converted to string in which the elements that do not exist add them to me but I also want to do it with the dates, the problem is not to pass the data to string but to ident...
asked by 10.10.2016 / 20:04
1
answer

Different controls in the content of each node of the TreeView

I am creating this Search form that basically contains a TreeView with several nodes as I show you in the following image: The objective is that when clicking on each node, different controls appear in the panel on the right, that is, a...
asked by 03.08.2016 / 10:11
1
answer

Control webBrowser does not load

You will see I have a webBroser that I pass a URL such that: public Marcador() { InitializeComponent(); } public void playGol(String url) { webBrowser1.Navigate(url); } When I call the metho...
asked by 03.08.2016 / 09:28
1
answer

Drag and drop from TreeView to Textbox

I am pasting an element of a Treeview to a Textbox , but I would like to paste the element in the position indicated by the mouse as well as show the bar that indicates where the element to be pasted will go, as shown in the next im...
asked by 12.08.2016 / 00:45
1
answer

Update WPF controls within a WinForms with ElementHost

I have a project in Winform, which we can no longer migrate to WPF, for reasons of time, we just want one of the forms to be in WPF for reasons of adaptability to different resolutions. The issue is that I created a WPF user control, and I us...
asked by 10.08.2016 / 12:56
3
answers

Insert data from a DataTable into an SQL table

I need help on how to INSERT data from a DataTable to an SQL table. The code of my DataTable is as follows: public DataTable dtDetalle = new DataTable("Detalle"); public DataTable filldata() { dtDetalle.Columns.Add("idProducto", Type.GetT...
asked by 30.07.2016 / 17:47