Questions tagged as 'c#'

2
answers

String for KeyValuePair using LINQ

I'm getting a string in the format "N1N2S3S4L5L6O7O8X" and needs to be passed to a KeyValuePair or a NameValueCollection . Where the key is the letter and the number the value. { N, 1 } { N, 2 } { S, 3 } How to do this using...
asked by 26.06.2017 / 16:12
1
answer

Error in DateTime attribute in C # writing to MySQL

I am trying to insert into MySQL database the date of birth of the user, in C # the attribute date_match is of type DateTime and in MySQL the attribute date_match is of type Date , to insert C # I am doing doing so: DateTime nasci...
asked by 28.04.2016 / 13:34
1
answer

Sending an automatic email from a site

I have a web hosting and my website is already in the air, I would like to know if it is possible to schedule automatic sending of emails at a certain time, through the website. I'm programming in aspx     
asked by 27.04.2016 / 16:55
1
answer

Xamarin - DependencyService NULL

Dear, good morning! I started to see a tutorial to develop a simple app in Xamarin with SQLite, but I'm having a problem with an object that calls DependencyService, it is always null, and I can not find the solution. The following is the...
asked by 02.05.2016 / 16:44
1
answer

Working with Windows Forms with designer on Linux?

In Linux (Ubuntu) can you create applications with Windows Forms in Mono or similar using a designer such as Visual Studio ? I'm having trouble because I need to develop with Windows Forms in a Linux environment with a designer simil...
asked by 05.08.2016 / 05:26
2
answers

Problem with String.Split

My problem is this: I want to get different objects from a string , dividing them by the character ; , except those in parentheses. Example: Linha1; Linha2; L i n h a 3; (linha que não quero que apareça; outra; mais uma;) Linha 4;...
asked by 07.06.2015 / 02:23
1
answer

Delete Devexpress controls

I need to remove the DevExpress controls from a project because the project has these components and does not have the software license. I have already deleted the components and references but when trying to compile the error appears: Não...
asked by 06.07.2016 / 18:33
2
answers

Final ASP.NET WebForms?

I would like to know if there is a certain trend in ASP.NET WebForms if "retiring", leaving only ASP.NET MVC, because according to this article the answer would be yes. The author of the article (Ramon Durães) at least in my view is a great conn...
asked by 02.07.2015 / 15:07
2
answers

Differences between array declarations

What's the difference between declaring an array like this: 'C# string MinhaMatriz[] = [] 'VB Dim MinhaMatriz() As String = { } and so: 'C# string[] MinhaMatriz = [] 'VB Dim MinhaMatriz As String() = { } or so: 'C# System.A...
asked by 26.06.2015 / 23:09
1
answer

Stored Proc X Entity - Is it a good decision?

On Entity Framework days, doing an MVC project using Stored Procedure is a good way? I've always heard this: If you choose EF, it does not make sense to use SP, but I've heard people say that this is not necessarily an absolute truth. Then comes...
asked by 29.06.2015 / 15:06