Posts by Daniel Nicodemos • 512 points
27 posts
-
3
votes1
answer269
viewsQ: Actionresult or Jsonresult returning Json?
I see many codes in Controller where it is used as a method ActionResult returning Json(), but I also see an approach using the JsonResult logically returning Json. Is there any difference between…
-
0
votes3
answers87
viewsA: ASP.net MVC error
Taking into account that the error was burst in the db.SaveChanges() as System.Data.Entity.Validation.DbEntityValidationException, recommend that you check the object passed in the method of Edit…
-
0
votes1
answer636
viewsA: Problem with accentuation when exporting data from Sql Server to Excel
I believe this can help you. In your App.Config (in case you are a winforms), enter the following tag inside the Configuration: <configuration> <system.web> <globalization…
-
4
votes5
answers38138
viewsA: Find Jquery Datetimepicker for EN
About the en, I think it helps you this way: $('.js_date_time').datetimepicker({ dateFormat: 'dd/mm/yy', dayNames: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado'],…
-
1
votes1
answer807
viewsA: Custom Installation Path via SETUP
One of the setups I learned that was well didactic with the developers I work in this way, I hope it helps: Step 1: Create a setup application. Along with your web project, applications and etc. (I…
-
2
votes1
answer1817
viewsA: Malformed Reference Element: Digital Signature
The update of windows 7 to be removed (palliative solution), is the KB3135983. In case it is she who makes this new "request" security in xml now. It is confirmed that the ID needs to start with…
-
2
votes3
answers10165
viewsA: Remove non-numeric characters from a string
public static void Main() { string str = "M1245D454"; Console.WriteLine("Entrou como: '{0}'", str); str = str.Replace("M", "").Replace("D", ""); Console.WriteLine("Saiu como: '{0}'", str); }…
-
3
votes1
answer1817
viewsQ: Malformed Reference Element: Digital Signature
I ended up having the same problem about a post already made here, but they see a question next to what was posted in the article. Which windows update would be to remove among those cited in this…
-
0
votes2
answers13280
viewsA: What are the differences between the available versions of Visual Studio 2015?
Goes according to what you want to use even roughly. The Community is mainly with the academic focus (basic tools for development), however, not as flexible as the Professional around tools. The…
-
13
votes2
answers1019
viewsQ: Convert.Tostring() and . Tostring()
Is there any glaring difference between them? Whether in performance or ways of dealing, what are their particularities? What would be the correct way to use (if there is any difference)?
-
1
votes1
answer932
viewsA: Move bootstrap window
Bootstrap so far is super resource dependent on jQuery. I recommend you go to the site and look for plugins for specific cases. http://plugins.jquery.com/ But jQuery itself already has this "raw"…
-
1
votes1
answer239
viewsA: Show image inside mobile bootstrap menu
Would that be about it? I did some research on something more or less similar and gave some adapted... Only need you use as a button and move according to content... body { background: #F1F3FA; } /*…
-
1
votes2
answers651
viewsA: Validation of Webforms fields
This script was from a little test project that I created a while ago, but it should help a little I believe. Validation script (Email, Cpf, checkbox, Date, password, phone and etc) function…
-
3
votes2
answers8240
viewsQ: Double quote character removal "
I have a code that reads a CSV and saves the information in the database, but I ended up getting a CSV "different" than what I’m used to reading. This CSV come with double quotes in the information.…
-
0
votes3
answers660
viewsA: LINQ corresponding to SQL with clause LIKE 'XXX%'
It is also possible to use this way: Similar to Like%: SqlMethods.Like(c.Nome, "Maria%") Similar to %Like: SqlMethods.Like(c.Nome,"%Maria") Similar to %like%: SqlMethods.Like(c.Nome,"%Maria%") This…
-
1
votes3
answers756
viewsA: Linq, doing Join comparing to Like
After a few minutes of kicking, I used this solution and it worked. var _s = (from p in exemplo1 from q in exemplo2 where SqlMethods.Like(p.blabla, "%" + q.blablabla + "%")…
-
2
votes3
answers756
viewsQ: Linq, doing Join comparing to Like
I have a question regarding Linq. As I have observed some codes, they usually use as an example: var _s = (from p in exemplo1 join q in exemplo2 on p.blabla equals q.blablabla I would like to know…
-
0
votes2
answers120
viewsA: Insert text into images
Improving the response by colleagues in the comments and subsequent responses of colleagues, the code will look like this: switch (codParc) { case 1: imgStats.ImageUrl =…
-
1
votes2
answers120
viewsQ: Insert text into images
I have a Switch that according to the given status it plays an image, but I would also like to play the numbering of that status in the image (that text that usually when we touch the image it…
-
1
votes1
answer1459
viewsA: How to verify what an html/javascript page is loading?
For step-by-step verification in the browser, you can make use of the browser’s own debugger (F12). Where by clicking the pause button you can see step by step what happens. Using the script…
-
0
votes2
answers35
viewsA: Problems with my table
The GCTA background fence, it references a class in css (class="alt"), by changing the color to red. Follow the code with the same color as all. .datagrid table { /* definição da tabela dentro da…
-
1
votes1
answer4431
viewsA: Add text under images using table
<div class="col-md-12"> <div class="col-md-3"> <img src="imagem.jpg"> <br/> <span>exemplo de texto</span> </div> <div class="col-md-3"> <img…
-
1
votes2
answers534
viewsQ: LINQ update of all listed items (changing the status of all listed items)
I have a Linq that presents data listed according to the required filters (date and unit) by the user and another filter to validate a code with another table (which is not the case). I wonder how I…
-
0
votes1
answer64
viewsQ: How to use SQL LIKE
I’m trying to assemble a string that makes a filter to compare only a piece of a numbering. I tried to make an appeal and looked for several ways to do it and so far I could not. using…
-
0
votes1
answer53
viewsA: White Margin in mobile - Twitter Bootstrap Framework
I recommend checking your "skeleton" of the project first. I’ve had similar problems with a larger spacing on the right and the hit was just a few changes in the: <div class="col-xx-xx"> If…
twitter-bootstrapanswered Daniel Nicodemos 512 -
1
votes1
answer118
viewsA: Open div according to combo selection
$(document).ready(function(){ //Chama o evento após selecionar um valor $('#DropEmpregados').on('change', function() { //Verifica a numeração do select no dropdown if ( this.value == '2') {…
-
2
votes2
answers1015
viewsA: Horizontal scroll bar does not appear when using datatable
For smaller screens I usually use a div with the Table-Responsive class encompassing the table. I hope it helped. Example: <div class="table-responsive"> <table class="table"> ...…