Posts by Mik3i4a5 • 355 points
15 posts
-
0
votes1
answer122
viewsQ: Datetime field is null when switching to controller
I have in my application a search form using Ajaxbeginform. In the same I own a data field (Datetime), and in which I am using the bootstrap datepicker. My form looks like this: @using…
-
0
votes2
answers186
viewsQ: type’T' must be a Reference type in order to use it as Parameter 'Tentity' in the Generic type or method
When trying to make a query using Iqueryable, I get the following error: Error 3 The type’T' must be a Reference type in order to use it as Parameter 'Tentity' in the Generic type or method…
-
1
votes1
answer1106
viewsQ: Convert double to string keeping the same format
I need to convert a value of type double for string in C#, without this value being changed to scientific notation. my code is: double valor1 = 0.000024746578864525161; string resultado =…
-
2
votes1
answer466
viewsQ: Validate empty fields in XLSX file - (Epplus) ASP.NET
I am importing an XLSX file into C#, using Excelpackage. I do some validations on import Ex: Numeric, text and if field is empty. Note: If all columns in my file are filled in the import is done…
-
1
votes1
answer1544
viewsQ: Log out and redirect user to ASP NET MVC login screen / C#
I am looking for a way to terminate my session and redirect the user to the login screen when my system der Timeout. I tried to use Session.Abandon() according to some examples I researched. But I…
-
3
votes1
answer6369
viewsQ: How to build a SELECT on Sqlite?
I am new in Android development, I am using Sqlite as a bank. I need to make a SELECT, and return the values of three columns of my table. Then I need to set the attributes of my object with the…
-
0
votes1
answer76
viewsQ: Unable to Retrieve Metadata for - Error creating Controller
I created a web project with MVC and Entity framework 4.5, and MYSQL database. added the dlls Mysql.Data Mysql.Data.Entity and Mysql.web I made all settings as per images below I followed the step…
-
4
votes1
answer278
viewsQ: Iterate over two List optimally - Algorithm Optimization O(n²) C#
I need to iterate over two lists and compare the values contained in both. But the way I’m doing it is taking a lot of time, because the greatness of my algorithm is O(n²), follow below more…
-
1
votes1
answer203
viewsQ: Know the size of an image on Android
I am developing an application on Android. I need to get the RGB of a certain image in 5 specific points of the image. as shown below: I am using the following code to capture the image RGB: int…
-
1
votes1
answer160
viewsQ: Build XML File Tip Using xml Serializer - More Efficient Way
I am mounting an XML file whose structure should be have nested tags as the image below: The image above is the output for the code below: public class Feeder { public string Name { get; set; }…
-
1
votes1
answer318
views -
1
votes1
answer431
viewsQ: Kendo Textboxfor allow only numbers in . NET
I don’t want to allow the user to enter characters in my field Textboxfor, and if so, I want to display a message that the field should contain only numbers. My code is below.…
-
2
votes1
answer27
viewsQ: Kendo ui Numerictextboxfor - Set startup values
How can I set a default startup value for the field Numerictextboxfor kendo’s. Ex: My field is empty initialized. I want it to come with a default set by me: @(Html.Kendo().NumericTextBoxFor(model…
-
6
votes1
answer1613
viewsQ: How to Add DLL to Visual Studio? (Unconventional form)
I’m trying to add a few DLL's to my project at Visual Studio (Unconventionally). What I mean is, within my project, but outside References ! According to the image below: The reason you use Dlls…
-
0
votes1
answer662
viewsQ: System.IO.Filenotfoundexception error
i am having a problem in my project, this giving Filenotfoundexception System.IO.error. I imported 2 Dll’s to my project, but it appears as if it is not. Does anyone know what it could be?…