Posts by Felipe de Souza • 17 points
11 posts
-
-2
votes3
answers816
viewsA: Validate field of CPF
$nome = $_POST['nome']; $cpf = $_POST['cpf']; $validacao = validaCPF($_POST['cpf']); // Checks function response and displays on screen if($validacao == true){ $sql = "INSERT INTO valida (nome…
phpanswered Felipe de Souza 17 -
0
votes3
answers26
viewsA: Insert data into MYSQL database by PHP with more than 1 screen
There are two ways to do this using html and native php, the first of which is: You can pass the values from one form to the other and hide the values with Hidden, for example: and just do the…
-
0
votes5
answers96
viewsA: Matrix with out-of-range index returning correct values
This is because you are not filling a matrix in the correct way, the correct would be: #include <stdio.h> int main() { int m[3][3] = { {10,2,3}, {4,5,6}, {7,8,9} }; int i=0,j=0; for(i; i <…
-
0
votes0
answers12
viewsQ: How to insert text box over image.Svg in Xamarin. Forms?
I have an extension file SVG, which I will use as a structure for my layout, I was able to display the image using the extension Ffimageloading.Svg.Forms, I would like to insert on this image fields…
-
0
votes4
answers109
viewsA: Define the lowest and highest value among three numbers
double n1, n2, n3; n1 = double.Parse(txtb1.Text); n2 = double.Parse(txtb2.Text); n3 = double.Parse(txtb3.Text); if (n1 > n2 && n1 > n3) { MessageBox.Show("O maior número é: " + n1); if…
-
0
votes2
answers214
viewsA: How to calculate average students and show in percentage?
class Colegio { static void Main(string[] args) { //voce nao sabe a quantia de notas que serao dadas então deve informar antes para criar um vetor para elas …
-
0
votes2
answers42
viewsQ: combobox C#, Selectedtext vs Selecteditem.Tostring()
What’s the difference between the two? Can values be different if an error occurs because of this? Which takes up more memory? Apparently the two return the same value, but I would like to remove…
-
-1
votes1
answer19
viewsQ: How to delete xml file with c#?
I am using this code to create the XML file, but I wanted to know how to delete one without having to go to the folder and delete manually. DataTable table = new DataTable("tbl");…
-
0
votes0
answers20
viewsQ: How to join values from 2 datagrid’s to only 1, even though these columns have different sizes?
string[] datasald = new string[dataGridView1.Rows.Count + dataGridView2.Rows.Count - 2]; string[] debitosald = new string[dataGridView1.Rows.Count + dataGridView2.Rows.Count - 2]; string[]…
-
0
votes2
answers60
viewsA: How to add the rest of the division to the last Value of a dictionary?
Buddy, I don’t really understand Dictionary, but have you ever tried to create a variable to know what the last value is and then just call it? Like this: int x = dict.count; // depois chamar, caso…
-
0
votes1
answer56
viewsQ: How to query Data values on a C# connection to excel using Oledb?
Follow below the line of code private void button7_Click(object sender, EventArgs e) { string conex = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + textBox1.Text + ";Extended Properties=\"Excel…