Questions tagged as 'c#'

1
answer

Problem when exchanging rooms C #

Now I have my next question! in c # I have a declared public global matrix public string[,] matriz=new string[3,4]; Now, create a module called public void llenar() to fill the matrix, but to access the module I must create a new in...
asked by 03.08.2017 / 17:52
1
answer

I have this error "ContextCompat does not exist in the current context" and a "PackageManager does not contain PERMISSION_GRANTED definition"

Hello, when I create the method, the error "ContextCompat does not exist in the current context" and a "PackageManager does not contain PERMISSION_GRANTED definition" .. know if I should add any special directive. Thanks METHOD private voi...
asked by 28.08.2017 / 18:56
0
answers

Problem with Google Maps map for Xamarin Forms

I'm doing a small project about integrating Google Maps in Xamarin Forms and I do not get any errors just that it does not show me the map, it shows me the screen in gray. public class MapPage : ContentPage { Map map; public MapPage()...
asked by 27.07.2017 / 00:45
0
answers

Remove or add attribute runat="server"

My question is timely, is there any way to remove or add the attribute runat="server "dynamically to a tag? I explain. If I have over there a div in HTML : <div id="un_div" runat="server">Cualquier cosa</div>...
asked by 26.07.2017 / 22:04
1
answer

Behavior of a form without border

Good morning, I am creating an application in Windows Forms, which has no border. I would like to know if it is possible to have the same behavior as a Form with border (the effect when minimizing, maximizing, changing Form). I am currentl...
asked by 24.07.2017 / 19:06
1
answer

DevComponents ComboBoxEx

I use version 8.0 of DotnetBar DevComponents . I would like to know how you can change the background color of a ComboBoxEx for a custom color, if I use the BackColor = MyColor property, the background color is still white. Thanks in...
asked by 24.07.2017 / 18:43
1
answer

Help, how to remove elements from a datalist in c #

I am working on a web application in ASP.Net, and I have a datalist that contains several elements including a label. That label has a data that I get from a database in SQL but, at the time of making the call to obtain the data of that label...
asked by 24.07.2017 / 02:28
0
answers

Create a custom ClickOnce installer

Good morning, I'm with a little doubt that I'm not looking for an answer, I'm currently developing an updateable application through ClickOnce and I want to give a bit of form to the installer of the application and the update method, since t...
asked by 31.07.2017 / 07:51
1
answer

Convert java code to c #

Good morning. I have had a desktop application in java to convert it to WPF (c #). I do not know much about java but intuiting what it does, little by little I have managed to translate it except for a block of code. The code is as follows:...
asked by 24.08.2017 / 15:22
1
answer

Avoid duplicating url aspx c #

I would like to ask if it is possible to do the following: Avoid duplicating the same page in the browser tab. I explain, I have a link that is www.registrar.aspx, I want that when you copy the link and paste in another tab do not load and th...
asked by 24.08.2017 / 03:44