Questions tagged as 'c#'

1
answer

Sqlite in Unity for Android

I am developing a .APK in Unity, where I have a BD in SQLite . When doing tests within the Unity environment everything works perfectly, but when exporting it to .APK and testing it on my phone, after executing 2 queries in a row...
asked by 31.08.2018 / 12:51
1
answer

Pass data between forms

Language: C Sharp In the MainForm I have a datagridview whose datasource is a dataset with a datatable . With a botón the form2 is opened and in this a row number is chosen. When accep...
asked by 09.07.2016 / 03:01
0
answers

OData v4 Client Code Generator issues in Visual Studio 2015

Hi, I have a problem when making the connection to the web service using ODATA, well apparently the web service is in a previous version of ODATA because the XML data does not return as JSON, however I am connecting with visual Studio 2015 using...
asked by 28.09.2018 / 23:19
2
answers

c # Object in use and Threads

I have been fighting for several days with a problem of Modified collection; the operation of enumeration. Object in use the discarded object can not be accessed I have the following code in the main form (which modifies a GMAPControl...
asked by 19.05.2016 / 11:56
1
answer

foreach does not appear in Vista

I try to make this work but it does not show any errors or exceptions, it just does not appear in the view ... @if (Model.Recetas != null) { <div class="row"> @foreach (Receta receta in Model.Recetas) { &l...
asked by 12.07.2018 / 19:49
1
answer

call forms from a sql

I am doing a project in C # and I have a table in SQL that builds a dynamic tree menu and one of the fields has the name of the form that should be opened when clicking. Now, in order not to make a fixed query and lose the dynamic effect of t...
asked by 21.07.2018 / 01:46
0
answers

SQL instances of a remote server

The problem is the following, I would like to obtain a list of all the sql instances of a remote server, currently I have only been able to get the list locally using the following code fragment provided by Microsoft. class Program { stati...
asked by 11.09.2018 / 10:17
1
answer

How to get dynamic checkBox values in the ASP.NET MVC controller

I made a view that relates the role of the user to the user, created the view with the dynamic check boxes that can register roles and then assign it to the user, only when sending the marked roles, in the controller does not return to the contr...
asked by 05.09.2018 / 19:22
0
answers

Problem with arrays, index exceeded c # [closed]

I have a class that gets data of API , I'll explain all the code because I really do not know where the problem is. public static void Obtener_Enemigos() { RiotSharp.RiotApi Api = RiotApi.GetDevelopmentInstance(_Key)...
asked by 14.08.2018 / 18:58
0
answers

Continue working while running selenium

I try to open a selenium button, but it works on the same thread as the form, so how can I continue working on the form, this is the code IWebDriver driver = new FirefoxDriver(); driver.Navigate().GoToUrl("https://google.com"); driver.FindEl...
asked by 15.10.2018 / 02:23