Questions tagged as 'c#'

0
answers

Error in connection to oracle database after it does publish in azure with visual studio

I'm developing a project in asp.net with Oracle data base 12c. The connection to the database, locally, works. It does all the CRUD functions. I am also using azure services (project requirement) for both the bank and the website. When I publish...
asked by 12.03.2018 / 20:25
0
answers

ActionResult Create error

I have a exception , in the method of creating an object with a foreign key, but it points the error in my db.SaveChanges() with the following message:    DbUpdateException was unhandled by user code. [HttpPost] [ValidateA...
asked by 12.03.2018 / 20:07
0
answers

Slow to generate report with report viewer

Problem description: I'm having trouble slowing down reporting with a "large" volume of data in Report Viewer 2015. When I generate a report with 5600 records in pdf format, it takes about 35 seconds to display the report, and although I...
asked by 15.03.2018 / 15:04
0
answers

Pull Only one data within a Modal

Personal I need your help. On a page cshtml I made foreach where I pull all the data I have in a table, along with the values that have in it, as you can see the picture below. Hereismyforeachbelow.@foreach(variteminModel){varIdCentro=100...
asked by 15.03.2018 / 14:46
1
answer

Display Automatic Date Sequence

I have a question regarding Datagridview: I'm doing a payroll system, in this system I have to bring the first day of the release and the final day. The problem is that, for example, I need to make a system in which every time he press the "r...
asked by 11.03.2018 / 21:33
3
answers

Inserting registry and retrieving ID generated by SQL Server 2012

I want to insert a record into a table, retrieve the ID that was generated by AUTO_INCREMENT and insert records into other tables, using that ID. But, I want to do this all using BeginTransaction . How could I do this? I'm doi...
asked by 23.11.2015 / 12:49
0
answers

C # Xamarin: SQLite table from Mappings classes (EntityTypeConfigurationClass)

I'm trying to create some tables in sqlite with VS Community 2017 (c # and xamarin android) from classes that are defined by EntityTypeConfiguration . Below I try to better detail my difficulty. Thanks in advance for any help. ** Commom pro...
asked by 17.03.2018 / 10:57
0
answers

Google Maps select bookmark

Good morning! I'm working with the google maps API with ASP.NET C #. I would like when the value of 'Name' is typed in a TextBox google maps zoomed in on the point and the icon changed to option 3 or changed the animation, something that i...
asked by 17.03.2018 / 13:54
0
answers

Relate Identity table (AspNetUser) with other table in my application

I am developing an application that uses Asp.Net MVC Identity, I have isolated the Identity part in the CrossCutting layer, and created a layer called Data where I have the Entity Framework where I am mapping other tables that I will use in the (...
asked by 09.03.2018 / 14:29
0
answers

How to check more than one service using WMI Query or C #?

I have this project where the system will check for specific services on several different remote machines. All of the connection, network and etc are defined and working, but I still have not been able to figure out a way to get the query to...
asked by 09.03.2018 / 14:06