Posts by Giovani Rodrigo • 299 points
25 posts
-
3
votes1
answer1250
viewsQ: Identify selected item Listview
I have a ListView that loads values from my database. I would like to know how to identify the selected item so I can recover the value of the field CODIGO_PRODUTO and make a UPDATE/DELETE in the…
c#asked Giovani Rodrigo 299 -
1
votes2
answers110
viewsQ: Block using and Exceptions
Is there any way to report code errors in the block using as in the try we have the catch? Or using the using I’m stuck with a plethora of if, else if and else? Supposing that the block using force…
-
0
votes1
answer168
viewsQ: Calling an . exe application in a C#Panel
To open an application know you use the following code System.Diagnostics.Process.Start("calc"); Now I need to know how to open the application in a Panel in my Form, so that it is not possible to…
c#asked Giovani Rodrigo 299 -
1
votes1
answer430
viewsQ: Type conversion error when saving to database
My project has a form frmAdicionarProduto to add products to the database containing TextBox and ComboBox: txtProduto txtQuantidade cmbTipo txtValorFornecedor txtValorFinal txtLucro I’m having…
-
1
votes1
answer1550
viewsQ: Display logged-in user on C#
I was able to get the user logged in through the text typed in TextBox. But I don’t want the user, I want the username. Example database: id = 1 nome_usuario = Administrador usuario = admin senha =…
c#asked Giovani Rodrigo 299 -
1
votes1
answer45
viewsA: View Form in a Tablelayoutpring C#
I found what I wanted to do. Code: public partial class frmPrincipal : Form { private Form _objForm; // Variável classe form public frmPrincipal() { InitializeComponent(); } private void…
-
0
votes1
answer45
viewsQ: View Form in a Tablelayoutpring C#
How do I open a form named frmOrcamentos within a TableLayoutPanel so-called tlpPrincipal. Remembering that the form frmOcamentos will open in the TableLayoutPanel that is inside the form…
-
0
votes2
answers119
viewsQ: Call Method C#
Hello, I’m with a project in progress where I have an employee registration screen. I need to leave the edge of the TextBox red if there is something wrong with filling it out. I tried in many ways…
c#asked Giovani Rodrigo 299 -
0
votes1
answer105
viewsA: HTML & Javascript - validation does not work
Your question lacks information so I analyzed your code. But from the information I have, you can do it this way function validateForm() { var name = document.forms["form"]["name"].value; var…
-
0
votes4
answers687
viewsA: CSS - styling a hyperlink
You can set a class in its element a <a class="btn-delete" href="delete_rows.php?del=<?php echo $books->ISBN; ?>">Delete</a> And do the proper treatments in CSS a.btn-delete {…
-
0
votes1
answer280
viewsQ: putExtra in Spinner
Hello, in my project I have a Spinner id @+id/spnList, that is in my activity Main. That one Spinner is populated with tables created dynamically in the database, until then everything works…
androidasked Giovani Rodrigo 299 -
0
votes1
answer598
viewsA: Button to open a new Activity is returning to the initial Activity
Try it like this Button Config= (Button) findViewById(R.id.Config); PerfilButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent i = new…
-
0
votes1
answer2083
viewsQ: Remove spaces and special characters from a string
Hello, in my project I have a EditText that receives a value typed by the user. EditText etListName = (EditText) findViewById(R.id.etListName); This value is converted into String String…
androidasked Giovani Rodrigo 299 -
1
votes1
answer150
viewsQ: Spinner with Sqlite
Hello, good evening. In my project I have a spinner <Spinner android:id="@+id/spnCategorie" android:layout_width="match_parent" android:layout_height="wrap_content"…
androidasked Giovani Rodrigo 299 -
5
votes1
answer772
viewsQ: Converting Textview value to double
Good afternoon, on my project I’m having the following problem. In it you have an Activity in which products are added. To add a product you need to fill the fields Name, Quantity and Unit Value.…
-
0
votes1
answer147
viewsQ: Error when multiplying java null values
I’m having the following problem: In my project there are two fields (editText) where the user can or cannot enter the value. Edittext that receives the amount etCount. Edittext that receives the…
androidasked Giovani Rodrigo 299 -
0
votes2
answers96
viewsQ: Tela Inicial Dinamica
I’d like to create something more or less like this: Se(O banco de dados tiver tabela criada) { Manter a Activity Principal; } Senão { Abra Activity de criação da tabela; } In short, android will…
-
0
votes1
answer261
viewsQ: Bootstrap button
I am having difficulty removing tooltip by jquery on a button. The operation of the button is as follows, if you have a form with required field blank, it makes the button stay disabled, I want the…
-
0
votes1
answer164
viewsQ: Execution of jQuery Script
I have a Progress bar script, I would like the animation of the progress bar fill to be started as soon as the user scrolls the page up to the elements that will be animated. I tried to use…
-
1
votes3
answers80
viewsA: Effects with jquery
If you have the possibility to use bootstrap, make that minstrel. $( ".toggle-effect" ).click(function() { $( ".demo-toggle" ).toggle( "fast" ); }); * { padding: 0; margin: 0; } .toggle-effect {…
jqueryanswered Giovani Rodrigo 299 -
0
votes3
answers1368
viewsA: How to make a burger menu open from right to left?
Add a right: 60px; on the selector nav for the menu not to be on top of the button that opens the menu, because if the menu is on top of the button, it is impossible to click again to close the…
-
0
votes1
answer47
viewsA: Problems with float and position Absolute
Why not use Nav-tabs? See that simple. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script…
-
2
votes2
answers862
viewsA: Cancel <a> tag click event
You can use jQuery to get this result, follow the example. Click once and remove the link, click again and add the link. $( ".remover-link" ).click(function() { $( ".link" ).each(function( i ) { if…
-
0
votes1
answer819
viewsA: How to hide table columns if there is no record in the database?
@EDIT <?php // Pega o id do produto vindo da URL $id_produto = $_GET['produto']; ?> <?php if(isset($id_produto)) { $D = $Exibir->VerDados($id_produto); if(is_array($D)) { foreach($D as…
-
6
votes1
answer180
viewsQ: DIV TEXT Fixed only in DIV PAI space
Hello, I’d like to do the following. <div class="pai"> <div class="form"></div> <div class="text"></div> </div> I have a div FATHER And inside of it are two divs…