Questions tagged as 'c#'

0
answers

How to export a sql server table with your data to xml

hello I have a table in sql server which I must export it to xml and I'm doing it but I do not export it in the format I want, I'm trying the following: string select = "select * from TEMPTABLE FOR XML AUTO, XMLDATA"; XmlDocument xmlDoc; va...
asked by 31.05.2018 / 01:27
1
answer

Access error denied in Xamarin

I am developing an App on Xamarin.Android and I get the following error when I try to create a PDF on the device ...    System.UnauthorizedAccessException: Access to the path "/ mnt / sdcard-ext" is denied. The weird thing is that in the...
asked by 04.06.2018 / 14:20
0
answers

Add the entire table of the database and show it with the total

I would like to add all the data stored in my price table, this table price (money) saves the price of some pizzas (it is a program of sale of pizzas) each pizza has a price of € 10, I would like to add it and show the price end in a MessageB...
asked by 04.06.2018 / 09:45
0
answers

Insert DataSet in SQL

A question to the knowledgeable public of this forum .. I am with a system in Visual with MVC, in which I must consult some data and for this I must load initial information to the database with a dataset, it is filled with an excel file. The qu...
asked by 07.06.2018 / 23:47
0
answers

Abort Thread c #

I need to abort a thread. The thread always stays in the " RUNNING " state, if there was a way to make a comparison like this: if (hilo.threadstate == hilo.threadstate.running) { hilo.abort(); } If there is already a running thread that...
asked by 07.06.2018 / 21:26
0
answers

Turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the serviceDebug configuration behavior) on the server

I have an application that every 2 min calls a method of a WCF service but apparently there were connection problems in the first two attempts it returned the following:    An error occurred while receiving the HTTP response to    link . This...
asked by 31.05.2018 / 19:16
1
answer

Datepicker does not display when I load data with a C # search, Bootstrap. ASP NET

I have a problem I'm making a page in which when the charge is a search button, I enter a data and I load several textbox. The question is that one of the textbox I use to load a date manually, it is disabled when the data is loaded here is the...
asked by 27.05.2018 / 07:23
0
answers

validate existence of class in C # unity3d

I am developing a game, in which one of the characters I have added a script for life control. At the beginning of the game, that character is an NPG. At a certain moment, he must become an enemy or ally (according to the player's choice). Fo...
asked by 27.05.2018 / 02:58
0
answers

Repeated serialization in Winforms C #

I need to do this link and I could do it, but I need to create some other Textbox and also read information from an XML file (but not the same one last XML file) I have tried that code but choosing the XML with an Openfiledialog, but it is sti...
asked by 27.05.2018 / 17:35
0
answers

get map coordinates using MapControl from DevExpress WMS, WPF C #

<dxm:ImageLayer> <dxm:WmsDataProvider ServerUri="http://10.9.12.159:8080/geoserver/wms" ActiveLayerName="{Binding SelectionBoxItem, ElementName=comboBox}"/> </dxm:ImageLayer> <dxm:Infor...
asked by 28.05.2018 / 15:48