Posts by TMBruhTH • 39 points
10 posts
-
0
votes1
answer392
viewsQ: Error Dispose(bool)': no suitable method found to override C#
I’ve checked on other forums and even here, but that’s it correct with the class name o namespace is the same. He caused me other mistakes besides this, but this I believe is the main one that is…
-
0
votes2
answers66
viewsQ: Email and password in the Android Studio app not registered in Firebase
No type of error appears when I click to register the button, I have put all types of password sizes and even put my own valid email only that does not register in firebase authentication. private…
-
-1
votes1
answer311
viewsQ: Datetime null 01/01/0001 - Error in selection (Winforms+Layers bll,dal,model) C#
I made a business rule where I pass some information from my service order to my cashier. However when I will perform the search in the box, my date passes 01/01/0001, and the error of characters.…
-
1
votes2
answers190
viewsA: Connection String Error in Visual Studio 2015
Put @ before your quotes ("")
-
3
votes1
answer73
viewsQ: Error passing grid view parameters of a form in combo box
Good morning, I have a form where I consult my budgets and in it I own a grid view. When I double-click on the grid line it opens another form. But I do not see the data that is in the line of my…
-
0
votes1
answer98
viewsQ: Cleaning mask of characters
I created my mask, only when I cancel it gets your characters in it. for example: if I put 0000000000, no time to save gets that number on the mask. Give a look at the image my clean code is this:…
-
0
votes0
answers114
viewsQ: Create mask for rg C#
I wonder if there is any way I can make appear the mask made through the code in my form? And in which way it would be, is not appearing in my form the way I am doing. In case I do not know if I…
-
0
votes1
answer53
viewsQ: Saving information in the same database attribute using two textbox
I was wondering if there’s any way I could save two different pieces of information into the same attribute in the database. Like I have two textbox, one Cpf and one cnpj. I wanted to save Cpf and…
-
0
votes2
answers120
viewsQ: textbox saving in bank even if empty
Validation and message: if (txtFone.Text.Trim() == string.Empty) { MessageBox.Show("O campo Telefone é obrigatório!"); txtFone.Focus(); return false; } Save button code: if (this.Valida()) {…
-
0
votes2
answers200
viewsQ: How to select the foreign key id in the main table?
public List Select() { List ListaCaminhao = new List(); SqlConnection conexao = new SqlConnection(strCon); string sql = "Select * from Caminhao;"; SqlCommand cmd = new SqlCommand(sql, conexao);…