Questions tagged as 'c#'

1
answer

How to disable the textchanged event in the load event in Visual Studio C #?

I have the following problem: I have a function that is called when the button triggers the textchanged event only when I start the program for the first time it calls the textchanged function in the load event. I want when the program starts th...
asked by 17.08.2018 / 18:06
0
answers

Unable to connect to any of the specified MySQL hosts

I'm doing an application in C # in Windows 10 ran normal but I need to put in a machine with Windows XP plus I'm having problems connecting the database in Mysql the version is with framework 4.0 the connection is right dripping with the ip of t...
asked by 17.08.2018 / 16:13
0
answers

After creating an installer with inno setup, it is not possible to insert data into the mdf file

I created a C # application with visual studio 2015, in it I can insert, modify and delete users that are stored in a mdf file. I used the "service based data base" item in visual studio and everything works fine. However, when I generate the...
asked by 17.08.2018 / 23:09
2
answers

Compare and print comma-separated data

I can not seem to make the comparison with the data in the notebook. This data is entered all inline and separated by; In short, enter    value; description; day; month; year if (dia == "" || mes == "" || ano == "") { ERRO erro = new ER...
asked by 17.08.2018 / 19:30
0
answers

RestSharp canceling operation

Good afternoon, I have an application that via RestSharp I make a call in the Revenue Service to retrieve the information I need. However, since I use a third-party service, we do not know when this service might be down. And making my requis...
asked by 25.08.2018 / 22:01
1
answer

Problem with configuring customErrors ASP.NET MVC 4

I need to set up a generic error page for my site, I have added the following code in web config: <system.web> <trust level="Full" /> <customErrors mode="On" defaultRedirect="~/Views/Error/index.cshtml"> <error red...
asked by 21.08.2018 / 16:49
0
answers

Error accessing 'AutomationElement.RootElement'

I have an error accessing AutomationElement.RootElement of UIAComWrapper. AutomationElement.RootElement.FindFirst(TreeScope.Children, new PropertyCondition(AutomationElement.ProcessIdProperty, idProcessoDevedorSolidario)); I have to...
asked by 21.08.2018 / 17:37
0
answers

Plugin.Geolocator.Abstractions.IGeolocator.GetPositionAsync IndexOutOfRangeException

I'm using Xamarin.Forms and trying to get the position with the Plugin.Geolocator and GetPositionAsync method drops in an IndexOutOfRangeException var locator = CrossGeolocator.Current; CancellationToken cancellation = new Can...
asked by 16.08.2018 / 21:59
0
answers

Link result of test cases to only one test case

Hello! I am automating test cases with Visual Studio and studying the possibility of associating these automations with test cases in TFS. The problem is that I can only associate one test case for automation, while our robots run several test c...
asked by 15.08.2018 / 23:30
0
answers

datagridview grid master and detail

Hello, does anyone know if it has how to do datagridviewsem relationship without table binding in C #? Example, I have two datagridview, student and notes, I would like to select the student, he list the grades below .. detail, these grids ar...
asked by 15.08.2018 / 23:26