Questions tagged as 'c#'

0
answers

return inside the control does not send to the right maproute

Good afternoon, I'm trying to use maproute to control editing and insertion of data in the table, currently my routeConfig looks like this: public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resour...
asked by 31.08.2016 / 17:49
1
answer

Problem with accentuation in postgresql with npgsql [duplicate]

I have a postgresql database created with encoding SQL_ASCII and template0 . When I try to select rows with accents like NOT it gives error, however if the records do not have an accent it works normally. Errors:    Error parsing...
asked by 25.08.2016 / 14:44
0
answers

Procedure in Firebird with C #

Expensive, good evening I'm new to Firebird, even though I've messed with it a few times, but nothing professional, but now due to a need the Embedded solution has been set to use. Well, I'm developing a user interface with Stored Procedur...
asked by 21.09.2016 / 03:38
0
answers

Automapper error in relationship

I have the following classes: public class ListaGrupo : EntidadeBase { public ListaGrupo() { Items = new List<ListaGrupoItem>(); } public int Id { get; set; } public string Nome { get; set; } public virtu...
asked by 13.10.2016 / 21:26
0
answers

Web.config Encryption and RSA Key Container

It has already been discussed how encrypt Web.config , has also been discussed as use encrypted Web.config , however my doubts are as follows: If you are using the default provider Rsa Protected Provider to perform encryption, and if...
asked by 13.10.2016 / 15:44
0
answers

aps.net does not call javascript in code behind

I would like to call my code a function in javascript that is in my html. Below is my code HTML <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="webReport0800net.login" %> <!DOCTYPE html PUBLIC...
asked by 04.10.2016 / 15:30
0
answers

How to unify all columns DataGridView C #

I would like to join all the cells (columns) of a row (Row) of a DataGridview, that is, I would like to have a row without side borders in the cells. Something in style: DataGridViewCellBorderStyle.SingleHorizontal However, this sh...
asked by 25.08.2016 / 22:54
0
answers

Selected checkbox list contains only those that are on the screen

I have a GridView that contains a list of items with a checkbox and I use the code below to "page" the table: $(".gvdatatable").dataTable(); The problem occurs when I check which checkboxes are selected, as it is curren...
asked by 30.09.2016 / 21:02
0
answers

I have difficulty showing Objects as properties of other objects in the DataGridView

I have difficulty displaying Objects as properties of other objects in the DataGridView I have the Address Class that is a property of the Vendor class In the Transfer Area public class Endereco { public string Rua { get; set; } pu...
asked by 22.09.2016 / 05:36
1
answer

Problems with protocol violation on FTP Server (FTPWebrequest)

In the company I work for, I have two servers: one that belongs to us and one third-party provider. I have to make a copy of the system files that is in the third-party provider for our local server. Basically a backup . I'm using the FTP...
asked by 20.09.2016 / 15:47