Questions tagged as 'c#'

1
answer

Has anyone ever used AdMob on Windows Phone 8.1 Silverlight and worked?

I have an application completed and I would like to publish, but I'm afraid of having to redo the project in Windows Phone 8.0 Silverlight. I am currently having problem in admob where the emulator works and the device gives the message "nofill"...
asked by 10.03.2015 / 16:35
1
answer

Api to delete is not working, does not delete. A Stored Procedure on the bank is working

This is the API public class DeleteCidade { BancoContext banco = new BancoContext(); public void deleteCidade(int id) { banco.Database.SqlQuery<Cidade>("exec sp_del_cidade", new SqlParameter("@id"...
asked by 08.08.2018 / 21:43
1
answer

Changing the select in SP gives error [closed]

This is the error: System.Data.Entity.Core.EntityCommandExecutionException: 'The data reader is incompatible with the specified 'TreinamentoCrudApi.Context.Cidade'. A member of the type, 'id', does not have a corresponding column in the data r...
asked by 10.08.2018 / 14:59
1
answer

Refresh warning screen [closed]

I am developing a stock control system and front of box and I intend to create a warning screen in the main form (it can be with datagridview), where, if when selling certain product and it reaches the minimum stock limit, then the warning scree...
asked by 06.01.2017 / 02:13
1
answer

C # - Start developing .Net [closed]

Having already some knowledge in php, javascript, html, css, responsive design framework, such as, bootstrap and semantic-ui, and as my main focus (taste) is to develop web applications, best way (tutorials, councils, etc.) to start developing C...
asked by 24.09.2016 / 04:20
1
answer

Return from Json [closed]

I do not understand the JSON operation, but here I have a Controller code that returns a JSON and I want to know how to display this data on the screen. public ActionResult ShowPlaylists() { if (string.IsNullOrEmpty(Session["token"].ToStri...
asked by 01.11.2016 / 04:12
1
answer

Help with rotation (Quaternion.Slarp) in Unity

I want to make my object spin 120 degrees and set a time for it. but instead of turning 120 degrees it goes to 120 degree. How to fix it? Transform inicial; float tempo; float angle; void Start () { inicial = GetComponent<Transform>(...
asked by 19.12.2018 / 22:23
1
answer

Selection of a non-random number in a C #

My question is whether the following proposed exercise: "Task: Write an algorithm in VisualG or C # that receives two positive integer values (x and y) and tell whether x is divisible by y. Let's focus on the problem when y is 2, 3, 4, 5, 6, 7,...
asked by 08.11.2018 / 15:21
1
answer

Convert DateTime to Date [duplicate]

I need to compare a date without the time, only ("dd/MM/yyyy") with the database with Linq , but I am not able to transform from DateTime("dd/MM/yyyy HH:mm:s") to Date("dd/MM/yyyy") format?     
asked by 24.10.2018 / 21:09
1
answer

Class reference affecting structure

I have a small problem and I can not resolve it. I have a class (array 0 ~ 999) called pTest , it is already instantiated all right. After I instantiate I copy a structure that is from the player (contains name, level information, et...
asked by 15.10.2018 / 16:49