Posts by Thiago Motta Barboza • 382 points
16 posts
-
0
votes3
answers487
viewsA: Problems between loop and ajax
Good morning Rodolfo try this way: $.ajax({ //função ajax }).done(function () { //função após o ajax }); This is another way, where you guarantee a call after the return of the ajax…
-
0
votes1
answer1302
viewsQ: Datetime UTC Opening hours NF-e
How can I change the time zone of a type variable DateTime? The idea is to make a routine where the user does not need to change the time of the computer to perform NF-e transmissions, but is…
-
1
votes1
answer569
viewsA: Software to create templates
Good morning Willian, sure everyone that you quoted the most appropriate would be Photoshop, however you will have to have a good notion of designer, but remembering that it only creates the look of…
-
4
votes1
answer815
viewsQ: NF-e query with response: "Paralyzed Service without Forecast"
I am doing in a project a NF-e XML search and download module together with SEFAZ. I made all the settings and pointed the requests to the Webservice informed on the website of the recipe but the…
nfeasked Thiago Motta Barboza 382 -
2
votes1
answer397
viewsQ: Xml Treatment with ASPNET MVC Core?
I’m working on uploading Xml using the ASPNET MVC Core, I get in the controller the file this way: public async Task<IActionResult> Upload(IFormFile param) { } but I need to check it before I…
-
1
votes1
answer294
viewsQ: Display Name with Razor
I have this case in my project? public enum TipoValorCalculoComissao { [Display(Name = "Percentual")] Percentual = 1, [Display(Name = "Valor")] Valor = 2 } And I would like to put these values in a…
-
7
votes1
answer1806
viewsQ: Reportviewer MVC Core
I am working on a project using ASP.NET MVC Core. I installed all the necessary dependencies for the use, but it does not allow to be used in my application. However, if I create a new MVC5…
-
1
votes1
answer1098
viewsA: Load PHP script without refresh
Have you tried this via script? <script> function atualiza(){ var url = 'class/class.php; $.get(url, function(dataReturn) { $('#id_da_div').html(dataReturn); -> atualiza a div com os dados…
-
-1
votes4
answers978
viewsA: Loop autoincrementing date
$m=0; for($i=1;$i <= $nparcelas; $i++){ $a1 = new DateTime($data_inicial); $a2 = new DateInterval('P'.$m.'M'); $a1->add($a2); $a1->format("Y-m-d") -> formatação…
phpanswered Thiago Motta Barboza 382 -
0
votes1
answer1088
viewsQ: How do I print between a web server and a local printer?
Good afternoon I need to print a direct tax receipt from a web system. (MP 20 MI X Printer Server Locaweb X client Windows 10 X PHP System) The point is that as there are several units using the…
-
0
votes0
answers40
viewsQ: Image reduction in Firebird
I have a Firebird database with some high-definition saved images, someone knows a method to reduce the images without taking them from the bank?
-
3
votes1
answer47
viewsQ: Join SQL SERVER Selects
I have the following selects, but need to be returned these data together, joining the selects someone suggests something? SELECT COUNT(numero_parcela) as 'total_parcelas', SUM(valor_original) as…
sql-serverasked Thiago Motta Barboza 382 -
1
votes1
answer86
viewsQ: Value between Asp.Net forms C#
Boa Tarde Personal I’m taking the value of a gridview so far so good: gridCadastro.GetRowValues(gridCadastro.GetFocusedRowIndex(), 'id_cliente', OnGetRowValues); Now I need to take this value and…
-
1
votes3
answers8934
viewsA: How to extract and list values from a multidimensional array?
It would be something like that you want? $query = mysql_query("SELECT * FROM cidade"); while($cidade = mysql_fetch_array($query)) { ?> <a href="<?php echo $cidade['id'] ?>"><?php…
-
3
votes2
answers16833
viewsQ: How to obtain only the date, without the time, of a Datetime?
Converting a field using ToDateTime it brings the date and time. parcelamento.data_vencimento = Convert.ToDateTime(reader["data_vencimento"]); Is there any direct conversion to bring only the date…
-
3
votes4
answers1844
viewsA: Generate new name for image during upload - php
Good Afternoon Gladison, when I work with image uploading in any language beyond the concern of changing the name I find it interesting you treat the extension so that there are no future problems…