Questions tagged as 'c#'

1
answer

Doubt in View and Controller construction with entity dependent on cardinality N

I'm on a project that I have a 1: N relationship. Explaining better: Project is for a school where students have their occurrences. So I would be a student for several occurrences: Models \ Student.cs public class Aluno { public long Id...
asked by 14.05.2014 / 19:17
2
answers

How to allow read only for a certain type of user?

I have a button that triggers an event to close a school's school year. By clicking this button, the person can have access to all screens of the system, but can not edit anything, delete, insert. Is there a way to block only these functions for...
asked by 05.05.2014 / 23:33
1
answer

Learning to use AJAX in ASP.Net MVC 4

In my project, I have two different models , thus generating their controllers and their views. The only thing that happens is that I do not know how to use AJAX and I needed an urgent help from you. What happens is that I wanted to render th...
asked by 13.05.2014 / 19:31
1
answer

Copy string from a position

I have this: private List<string> _listaCommiter() { string s = string.Empty; string _start = ConfigurationSettings.AppSettings["dir_inicio"]; List<string> lista = new List<string>(...
asked by 01.03.2016 / 00:12
1
answer

What are the free library options for ASP.NET MVC PDF generation? [closed]

I am currently using the selectpdf library, but it has some restrictions on its free version, I would like to know other options that I can use.     
asked by 26.02.2016 / 15:35
1
answer

Animation library C #

In C # is there any kind of jquery-like library in the sense of making animations effects with form elements such as making a text move from side to side and etc?     
asked by 20.03.2014 / 13:13
1
answer

Move files between folders with C #

I have an application that checks and downloads a file as soon as it runs through Window_Loaded . Here is the method that accomplishes this task: XmlDocument doc = new XmlDocument(); doc.Load("http://www.meusite.com.br...
asked by 03.04.2014 / 18:35
1
answer

OnTextChanged called multiple times - autopostback

I have a 50 TextBox of that type: <asp:TextBox ID="txt_DetImovel0" runat="server" AutoPostBack="true" OnTextChanged="txt_DetImovel0_TextChanged"></asp:TextBox> <asp:TextBox ID="txt_DetImovel1" runat="server" AutoPostBack="true...
asked by 14.03.2014 / 21:34
2
answers

Can I override existing anottation in .NET?

I have the following annotation: [XmlElement(IsNullable = true)] I would like to see the code that has behind it, so I create my own based on it Or if you have how to override it     
asked by 12.03.2014 / 14:57
1
answer

Receiving and manipulating data from a query

I'd like to know how to manipulate the data of a query . I have a method that performs a Select , and I'm creating a List to store the results, and returning that list. But how can I use this data outside the method? Foll...
asked by 24.12.2018 / 14:07