Questions tagged as 'c#'

1
answer

I create a table or several tables in SQL Server?

I have tables in my database: Orcamento , Maquinas , Veiculos and Acessorios . I need to record the costs of each of them, for example to each table will be recorded a cost daily I create a table called Custo...
asked by 08.07.2018 / 17:35
1
answer

Entity Framework Code-First - AutomaticMigrationsEnabled

I am learning Code-Fist and I came across the following situation: I am using AutomaticMigrationsEnabled = true so that the database data is synchronized with the classes. But the changes I make in the class will only update the databa...
asked by 14.07.2018 / 00:40
2
answers

Get coordinate of the image by clicking on it

I'm in a Xamarin / Android project. I need that when the user touches a ImageView I can get the coordinates (of the image) of that touch. How to do this?     
asked by 19.07.2018 / 22:09
1
answer

C # - Remove ASPAS - Replace - Remove ASP Double

I have a variable (TEXT) that is a string, where its value is: "06/22/2018 00:00:00" How to make a Replace by removing its quotation marks?     
asked by 22.06.2018 / 21:09
3
answers

ASP.NET MVC Project Publishing

Good morning, gentlemen, I work with systems development, but until then I never had to make an online publication of an application of mine, since I always worked with ready projects, what is the best way and where to publish my project where I...
asked by 25.06.2018 / 15:21
2
answers

Pass connection string to dataset via code

How to pass the string connection to the dataset via code? because the application I'm developing can not contain app.config .     
asked by 09.01.2015 / 17:20
1
answer

How to make a button with rounded corners in C # (Winforms)

I'm trying to customize the appearance of a button, basically I'm trying to customize the edges, background, font color and round the corners of the button. I was able to do everything but round the corners of the button . I tried following a...
asked by 11.01.2015 / 01:25
1
answer

Generating an xlsx file from a GridView that is fed by a Database

Good afternoon, I'm facing a problem when generating an Excel file, I was able to make the information appear in Excel and be shown on the screen, but I found myself with doubts when I try to generate only one file with the information, my doubts...
asked by 05.09.2018 / 20:20
1
answer

C # - EF Core questions to create relational model

I'm starting in Asp Net Core and I have the following question: I have a Curso template and a Unidade template, a course has multiple units, and that unit can belong to more than one course. I did the individual Course and Un...
asked by 04.09.2018 / 20:29
1
answer

Menu Icon change color by hovering the mouse on top WPF C #

Hello, I'm trying to make when changing the mouse to change the color. The Menu Icon should be white as the letter (header) as shown in the image below: Mymenucodeis<MenuStyle="{DynamicResource StandardClienteMenu}" VerticalAlignment="To...
asked by 05.09.2018 / 15:12