Posts by Voltz • 351 points
23 posts
-
0
votes0
answers257
viewsQ: Phone validation C#
Some time ago I searched here validation for the phone number that only accepted the format type (11) 98162-7844 or (11) 8162-7844, however I did not find a validation for the "existing" or…
-
1
votes0
answers506
viewsQ: Prompt + EXE Server IIS execution by WEB page
I am running a command of an executable by the CMD of the Blue Prism software, I tested local and it worked, but I have a question for when I go up in production, because the IIS server will have…
-
1
votes1
answer79
viewsQ: SQL Procedure improvement
I wonder if there was a way to improve a code I made on hand in SQL... I have a table from the following table Chave identificadora - DataProduto - Preço - Marca Lanche - Pao/presunto - 01/01/2017 -…
sql-serverasked Voltz 351 -
3
votes1
answer84
viewsQ: What is the fastest way to build text?
I have a large text (1000 lines) with formatting. Briefly (not this text but I will use an example) I have 2 ways to build it: StringBuilder sb = new StringBuilder(); sb.append("oi" + "meu nome" +…
-
1
votes0
answers48
viewsQ: Doubt platform Python
I am perfecting my knowledge for the job market and decided to study the Python language and wanted to know about the market and the "advantage" of the language for which side I would focus, if I…
-
1
votes2
answers65
viewsQ: Replace in undefined texts
I have a question regarding replace, I am populating values in word but some values I will not have available but if not fill in the word will be shown @@Variablename, so I was wondering if you have…
-
-1
votes2
answers75
viewsA: I wonder if I’m doing this ajax the right way?
I believe the right way would be: script> $('input[name=valor]').click(function() { var _campoRadio = $('input[name=valor]:checked').val(); $.ajax({ method: "post", url: "meu_script.php", data:…
-
0
votes0
answers140
viewsQ: Selecting a file via javascript
I have a folder with several pdf files and needed to select the pdf 1348.pdf, but via javascript, is it possible to do this ? Would I have to use an Handler ? and how would I return this value…
-
2
votes0
answers36
viewsQ: File (.PDF) for Ajax/Webmethod Webforms
I wonder how do I get the information from a pdf file (Binary, name, size) public class Arqs: IHttpHandler { Funcoes f = new Funcoes(); public void ProcessRequest(HttpContext context) { try {…
-
4
votes0
answers1111
viewsQ: How to consume a Graphql API (https://api.loggi.com)
I would like to understand know and know opinions to apply in a project urgently... I currently have a shopping website and I need to use the loggi company API which is a distribution company the…
-
0
votes1
answer242
viewsQ: Picking up a json string
I’m having doubts I’m consulting an api and it returns me this: "{\"optimized\": null, \"optimized_slo\": null, \"normal_slo\": {}, \"normal\": {\"estimated_cost\": \"28.40\", \"distance\": 10198,…
-
0
votes1
answer27
viewsQ: Identifier on grid lines
They could tell me if there is any simple property or way to put an identifier in the grid lines but without being the ID in the table, for example I have 5 records with id 32,45,99,100e and 200.…
-
0
votes3
answers648
viewsA: Removing items from a Combobox
I managed to get the result I wanted, but I think there should be a much more simplified way, in any case thanks to the 2 for the reply. string[] Array_Restricao = new string[13];…
-
1
votes3
answers648
viewsQ: Removing items from a Combobox
I have a ComboBox Status searching approximately 13 status of a table: cboStatus.DisplayMember = "nome"; cboStatus.ValueMember = "codigo"; cboStatus.DataSource = CartoesVTBLL.Status();…
-
0
votes1
answer129
viewsA: Organize Period column in SQL in ascending or descending form
I separated the period date by month and by year so got an organized table construction SELECT DISTINCT Periodo, Nome_Arquivo, LTRIM(SUBSTRING(Periodo,19,2)) as MesFinal,…
-
0
votes1
answer129
viewsQ: Organize Period column in SQL in ascending or descending form
Staff I have the following question/problem I’m doing a select on some accounts and organized by the name of the file, but I need to organize for the period but I’m not able to because it is not a…
-
3
votes2
answers914
viewsQ: Time difference Timespan in 24hrs format
I am asking this question because I have not located any topic with my problem, which is very similar to others. I have 2 fields TimeSpan? one of which relates to check-in time and the other to…
-
2
votes1
answer138
viewsQ: Find a uppercase letter in the text
I’m doing some text checks for password. I’ve already located for special character but I couldn’t find for high letter. I used Regex. For example if the text contains "test" returns false and if it…
-
3
votes1
answer499
viewsQ: Ajax call webmethod with friendly URL
I don’t know if it’s a frequent question, or something that’s not possible. During my studies I realized that it was possible to do this with PHP, but I didn’t see anything with ASP.NET Web Forms. I…
-
1
votes2
answers412
viewsQ: Reset the button text via Javascript
Well, I don’t know if my title refers to what I’m asking, but I have a form with a Sign in button. <button id="btn_entrar" data-loading-text="carregando..." autocomplete="off" class="btn…
javascriptasked Voltz 351 -
11
votes2
answers1359
viewsQ: What changed from MVC4 to MVC5?
I have read some topics on the subject, some say that it has changed very little, others say that they were very important changes. I would like to know your opinion on the subject, currently I do…
-
2
votes1
answer287
viewsQ: Merge two Word documents
I have a problem and would like a force, I have a project but I have no code to include my question. Client is requesting a button that joins 2 or more. docx files and turns into 1 only or sends to…
-
2
votes1
answer282
viewsQ: Asp classico with Asp . net
I have an Asp net project and I would like to take advantage of a page of another project, however it is classic Sp, I did some research and saw that I could do this "merge", but no one said exactly…