Questions tagged as 'c#'

0
answers

Report C # RLDC - Group

I have two tables: Product and Category. I would like to display all products, grouped by their categories. I'm using Parent Group and it works perfectly, but I would like to display the category description, contained in the parent table, ra...
asked by 27.06.2016 / 19:39
2
answers

Send object from AngularJs to C # API POST

I am not able to save the data registered in a form in the SQL Server database. The structure is as follows: The class: public partial class EMPRESAS_PARTICIPANTES { public int ID { get; set; } public int ID_AUX { get; set; }...
asked by 29.06.2016 / 13:51
0
answers

In what layer transform Domain into DTO

Hello, in an Asp.Net MVC application the architecture has domain entity classes, DTOs and ViewModels. The ViewModels transformation I make in the controller, so far so good, but at what layer should I make the transformation of domain classes to...
asked by 23.07.2016 / 16:55
2
answers

Static DataTable, how to load?

I need to create a method, which when the user logs into the system, when the initial menu is loaded, it loads a Static DataTable , so that I can use DataTable in future, to populate some ComboBox , without have the need to ma...
asked by 23.07.2016 / 01:03
1
answer

ListBox is not adding SubItems

I used the following code: ListViewItem item1 = new ListViewItem("Coluna1"); item1.SubItems.Add("SubItem1a"); item1.SubItems.Add("SubItem1b"); item1.SubItems.Add("SubItem1c"); ListViewItem item2 = new ListViewItem("Coluna2"); item2.SubItems.A...
asked by 06.07.2016 / 05:28
1
answer

More efficient code to make a iTextSharp template in ASP.NET MVC?

I just did a project to generate PDF's using the iTextSharp library in ASP.NET MVC (C #), however, I would like to know which code is most efficient and easy to use to have a template that generates PDF using iTextSharp in ASP. I need to be able...
asked by 07.07.2016 / 10:38
1
answer

Radio button in gridview

Good morning everyone. I need to create an online form that will have issues that will be entered daily into each user's profile. All questions are stored in a database along with their alternatives and correct answer. So I can set everyth...
asked by 13.07.2016 / 13:36
0
answers

WebBrowser I can not play my text in the text box

I have a system running on a client and now it has asked me for a feature that I'm breaking head and can not do. He needs the application to post on his facebook groups at certain times some publications of the academy, I managed to do this h...
asked by 21.06.2016 / 00:57
0
answers

entering data in web api

I have a SPA application and it consumes a REST API done in ASP.NET WebAPI. When trying to perform an insert in the API, the following error is returned:    Response for preflight has invalid HTTP status code 405 In web.config...
asked by 21.06.2016 / 04:59
2
answers

How to extract file from an FTP directory?

Good afternoon guys, I need to extract the files that are in the FTP folders. Following the examples that are in these links: p> FtpWebResponse.GetResponseStream returning an HTML Downloading files from FTP I managed to extract...
asked by 15.07.2016 / 23:21