Posts by stringnome • 1,752 points
43 posts
- 
		0 votes1 answer1278 viewsQ: css Hover in a table with rowspanTable - Example table, th, td { border: 1px solid black; } tr:hover { background-color:coral; } <table> <tr> <th>Col 1</th> <th>Col 2</th> <th>Col… 
- 
		0 votes0 answers412 viewsQ: Organizing elements in the bootstrap panel headerExample <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet"… 
- 
		1 votes1 answer62 viewsQ: Evaluating the $http response from Factory to the controller in AngularjsI created a Factory to carry out the operations CRUD in a REST API using the $http service to make a user control. Factory //Listar..Recuperar ..Inserir ...Editar..{...} usuarioService.Excluir =… 
- 
		1 votes1 answer147 viewsQ: Loading date in millisecond format in AngularjsI need to press the input type="date" dates that are stored in millisecond format values. Example <label>Data de expiração:</label> <input class="form-control" type="date"… 
- 
		1 votes2 answers2955 viewsQ: Applying scroll to table keeping header fixedI was looking for a way to apply the scroll vertically and horizontally keeping the header fixed to my table. I found in that fiddle a possible solution to this case. $('table').on('scroll',… 
- 
		4 votes1 answer144 viewsQ: Alignment of <pre><code> elements in cssExample code without indentation /*Exibindo trecho de código no HTML utilizando o <pre><code>*/ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">… 
- 
		2 votes1 answer34 viewsQ: Using Code Snippet in HTML5I’m putting together a page and in its contents there are code snippets HTML. I tried to insert snippets of code this way but it didn’t work: /* <!DOCTYPE html> <html> <body>… 
- 
		11 votes2 answers536 viewsQ: External and internal memory sorting algorithmsI was researching the difference between memory sorting algorithms external and internal and found the following answer in Quora : "In cases where we have to classify more data than can fit into… 
- 
		2 votes1 answer758 viewsQ: SELECT for date with format dd/MM/yyyy hh:mm:ssConsultation SELECT campo FROM Tabela WHERE data BETWEEN '2016-10-20' AND '2016-10-20' data and a field with type datetime ,I am having problems with the records for example that have the following… 
- 
		2 votes1 answer281 viewsA: CAST for monetary value stored in text in MysqlI managed to solve using the Replace together with CAST Consultation SELECT valor AS valor_original, CAST(REPLACE(valor, ',', '.') AS DECIMAL(18,2)) as valor_convertido from produtos Upshot… 
- 
		1 votes1 answer281 viewsQ: CAST for monetary value stored in text in MysqlIn the table of products of the bank there is a field valor that has the type varchar(255) Observe the query : Consultation SELECT valor as valor_original, CAST(valor AS DECIMAL(18,2)) as… 
- 
		2 votes1 answer3332 viewsQ: Troubleshooting for Error: Apache Shutdown unexpectedlyI installed XAMPP recently , in the panel when starting apache service the following error message was displayed 09:04:36 [Apache] Error: Apache shutdown unexpectedly. 09:04:36 [Apache] This may be… xamppasked stringnome 1,752
- 
		1 votes2 answers290 viewsA: Script does not show mapAfter get a key to the Google Maps Geolocation API Check that all Google Maps Apis are enabled on Google Apis console I also recommend reading this communiqué in English in which the following… 
- 
		5 votes2 answers933 viewsA: Javascript - How to validate form fieldsYou can use an external library called Lightweight Pure Javascript the name says it all. Uso Básica Import the file <script src="input-mask.js" ></script> Application example for the… javascriptanswered stringnome 1,752
- 
		0 votes1 answer107 viewsQ: Separate code regions using Sublime Text 3In the Visual Studio there is a resource called Directive #Region , a resource that collects and hides code sections. Example static void Main(string[] args) { #region MyRegion1 //My code Here… 
- 
		24 votes1 answer2199 viewsQ: What is generic programming?What is generic programming? It is a technique or a programming paradigm? When should we use this concept? 
- 
		2 votes1 answer42 viewsA: date manipulation in postgresqlQuery using operator > Example SELECT * FROM MinhaTabela WHERE data > '2001-05-02' If you wish to inform an interval with a certain period. You can use the operator BETWEEN Example : SELECT *… 
- 
		6 votes0 answers281 viewsQ: What’s a noodle code?Sometimes I see some programmers using this term. Is macaroni code a bad or messy code? I don’t know if he has any relationship with spaghetti code. What is the meaning of these terms ?… 
- 
		7 votes2 answers382 viewsQ: What is the Microsoft Bot Framework?I was sailing in the Microsoft Developer Network and visualized the Microsoft Bot Framework. I have two questions: What is Microsoft Bot Framework and what it’s for? Really the name is already very… 
- 
		3 votes1 answer694 viewsA: Scrollbar in Windows Forms screenFrom what I understand you want to create a scrollbar. You can do this using the property Autoscroll. Simply access the form properties and change the property value to True. Example :… 
- 
		2 votes1 answer2149 viewsA: C# - Access Denied Windows FilesApparently and only a folder permission issue, you can try to check the permissions by accessing the properties on the security tab you can check the folder permissions. Example Treating the… c#answered stringnome 1,752
- 
		18 votes2 answers22927 viewsQ: What is the meaning of the "&" (commercial) operator in the C language?I am putting together a workbook in C and I am looking for a clear way to explain this operator to the reader, and I believe that this question will help the people who are starting. Take an… 
- 
		0 votes2 answers161 viewsA: C++ program communication with a C#"i have an application in c++ and have to make the output from it be read by a program done in C#. I would like to know if it exists some way to do it?" Yes, my suggestion is that you do the storage… 
- 
		3 votes3 answers1905 viewsQ: What are the layers of a web application?In a simple desktop application on C# Windows Forms for example and layered model can defined as follows : Presentation Layer Windows Forms, GUI (User interface windows). Layer of Business Rule… 
- 
		0 votes1 answer129 viewsA: How to validate a blank maskedtextbox?You can use the método String.Isnullorwhitespace. Code if (String.IsNullOrWhiteSpace(txt_Telefone.Text)) { errorProvider1.SetError(txt_Telefone, "Preencha o telefone ! "); }… 
- 
		4 votes1 answer1524 viewsQ: What is the Expect100continue property for in System.Net.Servicepointmanager?I am working on a system that manages customer licenses. There is a feature in my system to return the customer’s product key , making a query on Web Service. And simple you inform the CNPJ it… 
- 
		1 votes2 answers622 viewsA: How to Popular a Treeview with C#System Directories and FilesI believe this example will help you. File directory Code DirectoryInfo directoryInfo = new DirectoryInfo(@"C:\Users\mmurta\Desktop\PastaMeuSistema\Arquivos_Meu_Sistema"); private void… 
- 
		0 votes1 answer5121 viewsA: C# - How to add results from a SELECT to a List and use the list to Popular a TableThis is an example of a método which returns a list of type string. In this case I’m using a database Firebird. public static List<string> Listar(string curso) { try { //Variavel local… 
- 
		2 votes1 answer339 viewsQ: Integration of Web Service InformationI’m having a little trouble making a Web Service. I have a database Mysql simple to register people. I already have my methods for performing operations CRUD ready in a classe . that were used in an… 
- 
		0 votes2 answers127 viewsA: Loading Grid data with CheckboxcolumnI managed to solve using some properties of Telerik : private void radMultiColumnComboBoxPessoa_SelectedIndexChanged(object sender, EventArgs e) { try { //Finaliza algum editor em aberto - Grid… 
- 
		2 votes2 answers127 viewsQ: Loading Grid data with CheckboxcolumnI am creating a form to perform a registration for a product license. This form is used to record which solution a customer has. In the form to add a product just select product and the client. I am… 
- 
		0 votes0 answers35 viewsQ: Nomenclature of variables and methods in c#Hello folks today I noticed something curious in code snippet here at the company Behold : private void Cadastro_Load(object sender, EventArgs e) { if (!string.IsNullOrEmpty(Acao) &&… 
- 
		0 votes1 answer35 viewsA: Gridviewcheckboxcolumn generating a blank columnTroubleshooting and very simple just enter the command in the builder and not in the Carrega_Lista(); public Principal() { InitializeComponent(); GridPessoas.AddSelectCheckBoxColumn(); }… 
- 
		0 votes1 answer35 viewsQ: Gridviewcheckboxcolumn generating a blank columnI’m creating a form like Radcontrols Winforms Application to make a simple registration of people . In this form I am using the Telerik Rad Controls To use the checkbox for each item in the list I… 
- 
		1 votes2 answers10224 viewsQ: Updating multiple records to the same IDConsider the following scenario for controlling license information in a database Products 1 - Solução x 2 - Solução y 3 - Solução z Suppose the Customer has the 3 solutions Licence table | ID |… 
- 
		4 votes1 answer514 viewsQ: Select data from two tables to display in one column?Consider the tables for customer registration : Table Person |ID|NOME|TIPO|EMAIL| Table Person Physical |ID|CPF| Person Juridical Table |ID| CNPJ| inscricao_municipal| inscricao_estadual| My goal is… 
- 
		7 votes2 answers1283 viewsQ: How to convert ASCII to binary?I’m trying to implement the conversion of a text to binary, I found one on the internet: static string ASCII_binary(string texto) { string converted = string.Empty; byte[] byteArray =… 
- 
		2 votes1 answer158 viewsQ: LINQ TO XML Query with Optional WidgetHello folks I’m having a question to display the data of a file XML through a consultation LINQ , the problem is that I am trying to consult the data of the person but the mandatory filling and name… 
- 
		2 votes2 answers3604 viewsQ: Specified conversion is not validI’m making an appointment with LINQ in the DataTable in that code snippet. I have to check if a link already exists for a registered person in the database. My query using the LINQ is working… 
- 
		0 votes1 answer412 viewsQ: Slideshow with the bootstrap?I’m one creating a prototype in bootstrap , how do I create a slideshow for a power point presentation file ? can do this ? to present the images I made this way : <div id="myCarousel"… 
- 
		11 votes2 answers14331 viewsQ: How does Groupby work on LINQ?I’m having trouble understanding the operator Groupby on LINQ. 
- 
		0 votes1 answer327 viewsQ: how to communicate with desktop applications?as a college project, we are developing a program to manage the projects for those who work home office. I am doubtful how I can create an interactivity, for example, for the project manager to… 
- 
		2 votes2 answers3293 viewsQ: Datetimepicker, get first and last day of the monthHow do I take the first and last day of the previous month, to fill a DateTimePicker on screen? Ex: Data Inicial 01/07/2015 Data Final 31/07/2015…