Questions tagged as 'c#'

1
answer

WebControl input text mask

I created a UserControl called UclDataVigencia very simple. Only one label and two input texts that will be responsible for receiving a start date and an end date. I would like to apply a mask to the date of type dd / mm / yyyy. I tried using jQ...
asked by 23.02.2018 / 20:43
0
answers

Changing value in integer array in an index works in one case, and in another not, why?

privatevoidbtnRodaLabirinto_Click(objectsender,EventArgse){char[,]Lab=newchar[10,10];int[,]Lab2=newint[10,10];intI=0,J=0;RandomNumerosRandomicos=newRandom();//abaixo,setandolabirintocom0e1for(I=0;I<10;I++){for(J=0;J<10;J++){Lab2[I,J]=Nume...
asked by 01.03.2018 / 15:00
1
answer

Referencing non-static object in a static method

Good evening, I need to reference a PlaceHolder Asp.Net component in a static method in code-behind C# , this method is called via AJAX by front-end see code: Call the method by the front end Form aspx:...
asked by 23.02.2018 / 00:51
0
answers

I can not assign a class in the Droid Project that is in the Shared Project

When I create a class in the APP and try to use it in the Droid, it is not recognized in the Droid, even adding the reference to it by the using clause. I create this class: public partial class CircleView : BoxView { public static readonl...
asked by 23.02.2018 / 18:06
0
answers

Elapsed Timer event is not running in service DLL

I created a service DLL and set up a timer for this service to run at certain intervals. But I have a lot of doubts about when I run the service through VS 2013, the service runs the first time the Elapsed of timer event is not running...
asked by 23.02.2018 / 16:15
1
answer

Do not need to pause the Thread to bring the results

I have a problem getting data from a device. It works like this: this device is called Module , in this Module I can start some operations like start , stop , abort operation ... The application I am working on, sends commands to this...
asked by 22.02.2018 / 18:49
1
answer

ReportView file I can not see Design

I'm starting to use Report View, but I have a problem. When I create a project with the Report template the generated file can not open the design, I can only visualize this code, as below. <?xml version="1.0" encoding="utf-8"?> <Repo...
asked by 22.02.2018 / 00:25
0
answers

Dropdownlist asp.net mvc

I have a product that can be registered in 2 stores A and B if I have already made a registration in A how do I pro Dropdownlist show me only show option B the next time I register? How would logic be? using Entityframework and Linq? [H...
asked by 06.03.2018 / 17:49
0
answers

Check selected value in a DropDownList with entity

I'm a beginner in ASP.NET and I have a relatively simple question ... How to get the selected value in a dropdownlost like this and pass it to a variable within the same cs.html to do a <div class="form-group"> <label class...
asked by 20.02.2018 / 20:40
0
answers

Display the name of a foreign key in bootgrid?

I'm having to put a foreign key in the bootgrid view. In the first comment of a video lesson the author of video aula said that to display a foreign key just add a date-formatter with an apelike, which in my case I called it "RequesterName"...
asked by 20.02.2018 / 14:42