Questions tagged as 'c#'

3
answers

Problem with users when publishing application

I'm using SQL Server 2012, and when I publish my application, both on the client server and on my pc everything works fine. The connection strings for DB is correct, everything looks fine. Now where's the problem? When trying to authentic...
asked by 04.04.2014 / 17:57
1
answer

Response.Write / Flush hangs after many calls

DISCLAIMER: I asked the same question in StackOverflow in English, I'll carry the valid answer from here to there, if necessary, but I know that not all users here access the StackOverflow in English, so I intended to extend the radius of resp...
asked by 01.07.2014 / 19:54
1
answer

Passing parameters by jquery through a table

a doubt: I have a table and in it two columns, which are: CNPJ and Razão Social . Well, I need to do the following: When I click on the CNPJ column, for example, I should pass the value of CNPJ that is being clicked an...
asked by 30.06.2014 / 21:53
1
answer

Convert Windows application to Windows Phone - C # (HttpWebResponse and HttpWebRequest)

I have a class in C # for Windows that works normally, but I would like it to work on Windows Phone. The idea is to use the HTTP methods get and post of a web page that has CAPTCHA. I will show the captcha to the user and I w...
asked by 30.06.2014 / 04:49
1
answer

DbContext: use other connection strings - EntityFramework

I have a web.config file with 4 connection strings. How can I put these connection strings in class DbContext ? public DataContext():base("ConnectionString") // Essa é minha conexão padrão { } How can I do the same with anothe...
asked by 30.07.2014 / 23:22
1
answer

WebRequest error C #

I'm doing a POST type request for a URL, but I always get the following error message: "The underlying connection was closed: Unexpected error in a send.". This request is made through a dll that creates in C #, which is used by Delphi. Wh...
asked by 20.12.2018 / 12:57
1
answer

Binding with CustomControl is not working

I created a CustomControl but creating a BindingProperty I can not do a binding Custom Control XAML Code <ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"...
asked by 06.12.2018 / 20:47
1
answer

Rename files from a txt list

I'm trying to develop a small program that allows me to rename a set of files (type pdf in a given directory and whose name is sequential: 001.pdf, 002.pdf, 003.pdf, etc.), using existing information in a txt file. The information in the txt...
asked by 12.12.2018 / 15:21
1
answer

ASP.Net - JavaScript / Text GZip File Compression

Good afternoon, I'm having a hard time configuring traffic compression using GZip . Here are the steps I've taken to make compression work: I have already enabled the features of windows related to compressing files on the web; I'...
asked by 10.12.2018 / 18:48
2
answers

Relate Check Boxes with Radio Buttons

I'm with a project where I have to put occurrences. This is a project from a school. Then the occurrences would be like this: An occurrence would be a warning or a suspension, and its causes, that is, it messed up in a room, cursed a teacher, di...
asked by 05.05.2014 / 18:07