Questions tagged as 'c#'

1
answer

Search Serial Error Postgresql

Using: c #, windows forms, postgresql I'm having a hard time putting together a routine which writes data to a table and retrieves the id (serial / sequence) and updates the log in another table. Worst of all is that everything works by De...
asked by 28.12.2014 / 14:34
1
answer

Access page protected by login with C #

I need to make a script to capture links from a page, it happens that this page is protected by login, I have this login but I do not know how to make a request to be able to access this protected page. It would look something like this: Acc...
asked by 19.09.2014 / 18:37
1
answer

IIS - Directory Access Denied

I'm using windows server 2008 and IIS 6.1, I have a service that needs to access files in a particular directory, but I do not have access. What do I need to configure to gain access? AfteraddingAdministratorastheuser,theapplicationsaystha...
asked by 26.11.2014 / 02:04
2
answers

How to debug to know which procedure or table is running with Asp.Net

I've been in the new job for 10 days, and I'm having some difficulties - which is normal depending on the difficulty. I have a Table inside a Repeater, which is fed by a Procedure. How do I do with Debug, to find the Procedure that is runn...
asked by 21.11.2014 / 18:42
1
answer

Allow Multiple Providers with Authorize Attribute

I'm trying to implement Roles permissioning within my controller: [PerfilFiltro(Roles = "Administrador,Caixa")] public ActionResult Index() { return View(db.Adicional.ToList()); } public class PerfilFiltro : Author...
asked by 24.09.2014 / 02:33
1
answer

Date with bootstrap does not run on my project

I need to put a component to select dates in a filter in my project. As I use bootstrap, I need to put the dates with this component. It turns out that the examples I got on the internet, I could not make it work, one of them here Any help,...
asked by 03.10.2014 / 15:25
1
answer

What is the correct way to declare the following class structure and get its behavior from EntityFramework?

I have the following class structure: public class Revenda { [InverseProperty("Revenda")] public virtual ICollection<UsuarioRevenda> Usuarios { get; set; } } public class Empresa { [InverseProperty("Empresa")] public v...
asked by 30.09.2014 / 23:30
4
answers

Loading values from a select in my GridView

My DAL that does Select and saves it in type list using System; using System.Data; using System.Collections.Generic; using System.Linq; using System.Web; using MySql.Data; using MySql.Data.MySqlClient; using Geax1.Model; namesp...
asked by 24.09.2014 / 17:41
1
answer

Remove C # Details WebBrowser Print

Just like in the image, do I need to remove these details in the corner of the page and put a description in the lower corner of the page? I'm making an impression like this: wb.ShowPrintPreviewDialog ();     
asked by 15.08.2014 / 19:22
1
answer

Multiple threads may interfere with the timerControl

I'm developing a program that contains more than 10 threads running ... there was a need to have two timers, one to block and one to release a process, so I'm using the WinForms timerControl ... which initially are: timer.Enable = false /...
asked by 15.08.2014 / 19:32