Questions tagged as 'c#'

1
answer

Upload view by parameter

How do I call a view passing a parameter? Type, if parametro = 1 <h1>Teste1</h1> else <h1>Teste2</h1>     
asked by 08.10.2015 / 21:01
1
answer

How do I retrieve the filters of a query?

Hello. Is it possible to find out which filters, computers, etc. were used in a query? Example: public class Program { class Produto { public int Id; public string Nome; public Produto(int id, string nome)...
asked by 06.10.2015 / 20:41
1
answer

Can you use Firebird by accessing Windows Phone?

I developed a C # Windows Forms application with Visual Studio 2013 and with Firebird database, but I would like to make a small application to facilitate access to the system. But in this application it would be necessary to access the same app...
asked by 07.10.2015 / 20:25
1
answer

Adding Xamarin.Forms Package Issues

I'm starting some projects with Xamarin Studio, I'm having some problems and I still can not solve it. It always appears these 2 errors, I looked at a solution on stackoverflow.com, but the solutions given there did not solve my problem and sinc...
asked by 05.10.2015 / 17:11
1
answer

Search for image in HTML

In a form, I'll perform an image search on Bing (in the background) like this: titulo.Text = "sou doador" string minhaBusca = titulo.Text + " app"; minhaBusca = "http://www.bing.com/images/search?q=" + minhaBusca; Then I want to get the...
asked by 20.09.2015 / 17:08
1
answer

Write in the right line of the file and find parameters present in it?

I created the file: FileInfo arq = new FileInfo("C:\ProgramData\dataMinGSMFans"); if (arq.Exists == false) File.Create("C:\ProgramData\dataMinGSMFans").Close(); In a form I will see if it has content and assign this content to form obj...
asked by 20.09.2015 / 00:20
3
answers

Razor - Send parameters to a modal Bootstrap

I have a list (grid) and want to open a modal bootstrap with details of the chosen line. To build the list I'm using - @foreach , and I store the data in viewbag . The idea is to open the modal window and use the data of viewba...
asked by 30.09.2015 / 07:15
1
answer

how to do a select count using Linq C #

I need to convert this snippet of SQL code to Linq C #. I've been able to convert almost all of the code. SELECT COUNT(Q.ID_QUALIFICACAO) AS CONHEC_ESPECIFICO FROM QUALIFICACAO Q INNER JOIN...
asked by 02.11.2015 / 20:39
1
answer

Login Screen with C # Database!

Hey, everyone! So ... I'm really new to programming and I'm having problems with the login screen with database. The code does not give any error, but it is as if there was no user registration in the SQL server, I tried all 5 entries that exist...
asked by 02.11.2015 / 00:42
1
answer

Logging errors with Selenium WebDrive in C #

Good evening! I'm organizing my test suite and looking for the best ways to create an error report when a test fails. I have already implemented a log in .txt with the name of the test that is executed (using TestContext), the test execution...
asked by 27.08.2015 / 23:51