Questions tagged as 'c#'

1
answer

Giving ctrl + f in webbrowser by code

Do you know of any way to give ctrl + f to something by code in a WebBrowser instance?     
asked by 28.07.2016 / 19:50
0
answers

Problems with Xamarin

I installed Xamarin in Microsoft Visual Studio Community 2015 and I'm trying to use it in Windows to program cross-platform. However I came across a lot of bugs, I find no tutorial teaching how to configure the environment from the installation,...
asked by 29.07.2016 / 20:51
0
answers

List with repeated records via Linq

I'm trying to do a simple query with LINQ, and the code below is returning me repeated records in the first 5 rows of the list. var teste = (from p in db.VW_PAGAMENTO_RECEBIDO where p.ID_Pessoa == 23 select p).ToList(); When I run the SQL s...
asked by 08.06.2016 / 19:05
0
answers

SortedList throws exception System.ArgumentException

I'm trying to implement a code to find the best path in a graph. I was able to develop the method with recursion and now I'm trying to implement using stack. The problem is that I get an exception when I try to access .Min (), and this does n...
asked by 10.06.2016 / 21:41
0
answers

How to create a trello checklist using the Trello.net Edge library

I'm trying (unsuccessfully) to use the Trello.Net Edge library to create a checklist in a given card . The problem is that: whenever I try to create the checkilist an error is returned saying that the value of the idCard field is inval...
asked by 08.06.2016 / 18:32
0
answers

Reportviewer C # with parameters using MySQL

I'm starting to develop reports in Visual Studio 2013, using C # with MySQL. I've been able to do a report without parameters, but when I enter parameters in the query, it returns an error. The query that I put in dataset is as follows...
asked by 08.06.2016 / 16:04
1
answer

Sql Reader returning null value

I'm running a datareader , but it does not return any value, I've already checked the table and the conditions ( where ) of select exist in the table. The code follows below: public void consulta() { string sq...
asked by 04.06.2016 / 18:06
2
answers

Find a snippet of an HTML

I get a string , and it contains an HTML. Here is a table, and its columns: <td width="24%" valign="top" border="1" style=" BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT...
asked by 10.11.2014 / 15:31
0
answers

How to get the creation date of a C # file [closed]

I have a web system in C # and I am using framework 4.5 that accesses a firebird database that is on a server, I am making the connection to this database normally. Now I need to access the creation date of this file, I'm using the following...
asked by 04.06.2016 / 00:52
0
answers

Dependency Injection and Specification Pattern

Good evening. Can anyone help me understand this issue of the Specification Pattern and Dependency Injection? For example: In my service layer, I need to check if the user has filled in some information and if this information is within...
asked by 12.07.2016 / 00:12