Questions tagged as 'c#'

3
answers

Convert string to int 32 and store your result

I am developing a multiplayer game in Unity using the services of Google Play Game Services (GPGS), each of the players that connects gets a player id through GPGS is id is a string which I need to convert to whole and its elements add them to o...
asked by 16.06.2016 / 02:21
1
answer

Upload images to the index with MVC 4 C #

I have in my view "Upload" the following code: <form action="" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <input type="submit" />...
asked by 16.06.2016 / 20:32
2
answers

Disable refresh screen until end of operation

Currently I have a code that refreshes me MdiCildren screens, the fact is that by doing this visually it is a bit ugly until it ends, so I need to know if it is possible and how to do not paint anything on the screen until you arrive a point and...
asked by 23.02.2017 / 09:24
2
answers

How to create multiple CSV files from web service execution

In my program that calls certain web services, I would like that in the final result different CSV files will be created depending on whether the ProjectID is different In the following code, in the array filter of projectIDs , i...
asked by 04.03.2016 / 20:27
1
answer

Imagenes at ItexSharp

I'm working with Chart in C# where I do the graphing of data and when the user gives click on the report button the report pdf of% is created ItexSharp Up there I'm fine but I'd like to make it a little bigger without...
asked by 24.11.2016 / 20:40
2
answers

Validate a user within the database

Good morning, I am working as Windows Forms and user controls within C #, which I am working with an application that acts as a clock watch. This first screen acts, like the main screen. Which all users have access to now. Inside...
asked by 28.08.2018 / 00:17
2
answers

Generate JSON array object from a list type Object

I am first generating a dynamic object with: dynamic objetoTabla = new ExpandoObject(); , which I add the properties dynamically according to the data I generate with LINQ , until then everything is fine, then that created object I store...
asked by 10.11.2016 / 05:20
1
answer

C #: Read XML file with NameSpace

I want to get the values of these nodes in a XML file and each of these values assign a variable to it. I get the file this way: CODE: var miXML = File.ReadAllText("D:\20101284981-01-0002-0000000060.xml"); XML: <?x...
asked by 28.12.2016 / 18:33
1
answer

Error in ScardTransmit () when returning SW1 = 69. SW2 = 00

I develop a Pc / Sc application, I set the context, the connection and I get the ATR perfectly, but when I start the transmission instead of returning (SW1 = 90 SW2 = 00) it returns me (SW1 = 69 SW2 = 00) CodigoSnipe class MaxSmartCard {...
asked by 16.05.2016 / 15:00
1
answer

Reserved word "new" in interfaces c #

Greetings, I've been playing with some AspNet identity stuff trying to undock some components. When I try to define an interface that implements other interfaces (for this case, AspNet Identity interfaces) I get a warning in visual studio...
asked by 01.07.2016 / 18:41