Questions tagged as 'c#'

0
answers

Open Form of another project C # (mvc)

I have a question if it is possible to do it, I am doing a small project in C # following the MVC pattern, it is organized in the following way: Project 1 (library of classes): Access to data Project 2 (library of classes): Controller (bri...
asked by 24.05.2018 / 18:24
0
answers

Access-Request-Headers in angularjs and c #

In the angularjs part I have this part of the code to show the request-headers from the web: $http.defaults.headers.common["User"] = "MjM="; $http.defaults.headers.common["Password"] = "MjM="; $http({ method: "GET", url: "http://lo...
asked by 24.05.2018 / 10:06
0
answers

consume java web service with client certificates

I appreciate your cooperation with the following situation. I have a project in .Net C # which must consume an external web service that is built in java, to be able to consume the service I must add the client certificates (I already have them...
asked by 06.06.2018 / 22:25
1
answer

Difference between Task and Thread C # [closed]

Someone would be kind enough to explain what is the difference between Task and Thread in C # and some of its methods, the information I find is usually somewhat ambiguous and confusing. I want to implement a method that checks data from a RE...
asked by 27.05.2018 / 06:00
0
answers

Is it better to use ADO.NET or EF to manipulate database objects from MVC? [closed]

I currently use the Entity Framework to make database connections from C # with MVC, but I find it rather tedious to be adding the tables and everything to the database model in the project, and if something is modified I have to delete and re-a...
asked by 01.06.2018 / 00:35
1
answer

Problem C # winforms LinQ

I am working CodeFirst and I have the following table in my DB and when I want to show it the query in a DataGridView brings all fields, but I want to show only 2, exactly the name and the price. What should I modify in the Linq query? var pro...
asked by 20.06.2018 / 18:30
0
answers

Use or Create Attributes for data validation in properties?

Hi guys I would like to know if there are attributes or can be created for properties that allow to add restrictions like: -Only positive numbers -Length of a minimum string 3 and maximum 255 -It can not be null -Only 1 or 0 represen...
asked by 10.06.2018 / 23:27
1
answer

Unity 3D Door System (scene change) C #

I am developing a project in Unity and I have come to a doubt. I put you in situation: There is a village with different houses, the character can access those houses through the door, approaches it, collides with a Trigger and presses a...
asked by 19.06.2018 / 13:53
1
answer

System.DataRowView Error loading ComboBox C #

I have the same problem friends, I understand how the DataTable works but when I'm trying to load a ComboBox through a query that contains 2 tables it shows me the System.DataRowView private void CargarComboCentrales() {...
asked by 20.06.2018 / 07:50
0
answers

Save PDF ASP.NET C #

I want to generate a pdf of a specific div but it does not give me everything I want it to print. I am using jspdf as a library. I pass a fragment of my code In the aspx: <script type="text/javascript" src="Scripts/jspdf.min.js"></...
asked by 19.06.2018 / 19:52