Posts by Junior Guerreiro • 617 points
69 posts
-
0
votes1
answer317
viewsQ: Calculation of currency sum
I need a help to make a calculation actually a sum per coin, as shown in the image below: follows my code. private void ListaGrid() { conex.Open(); string strSQL = @"SELECT DISTINCT SY.YF_DESC_SI AS…
c#asked Junior Guerreiro 617 -
1
votes1
answer6295
viewsQ: How to use line break in c#
I have a tag and on that tag I have a field that is very large. I need to break the line, to go to the bottom line when I reach a certain number of characters. etqfracpic1.Add("Cas: " +…
c#asked Junior Guerreiro 617 -
4
votes1
answer682
viewsQ: Making the Insert in SQL Server in a float field?
I have the following problem in my code, I have a textbox that receives the value 0.900, only when I’m recording this value in the bank, it’s only recording 900, and I need you to record the 0.900…
-
1
votes1
answer85
viewsQ: Error making an Insert in sql server with c#
I am trying to make an Insert in a table and am getting an error message. Error image: Code: private void etqmanual() { conex.Open(); SqlCommand comando; StringBuilder Query = new StringBuilder();…
-
0
votes0
answers543
viewsQ: How to transport information from datagridview to a textbox in another form?
I have the following question on my application. I have Form1 and in this Form1 I have two textbox, txt_cod.text and txt_fornec.text and a search button, when I click on the search button of this…
-
0
votes2
answers48
viewsA: Selection of chekbox in datagridview
Danilo thanks for the attention, but also did not work, I think the problem is in the part that I mount the label and send to the printer, I think in that while down here. private void etqfrac() {…
c#answered Junior Guerreiro 617 -
2
votes2
answers48
viewsQ: Selection of chekbox in datagridview
Good afternoon. I have a datagridview that I populate through a database select, and in this datagrideviwer I have a column with a chekbox, to select the line I want to send to the print, but the…
c#asked Junior Guerreiro 617 -
-1
votes1
answer605
viewsQ: checkbox in datagridview
I am developing an application in c# that makes impression of labels, for this to happen I use a datagridview, which brings the lines I need to print, now I need to put a checkbox to select the line…
-
-1
votes1
answer186
viewsQ: Enable a button after entering password
I need some help, but I don’t know how I can make this code. I have a form and in this form I have a button that deletes in an SQL table, I want to make the button is disabled and to enable it I…
c#asked Junior Guerreiro 617 -
0
votes1
answer136
viewsQ: by checking a field filled in a select in the database
Good morning... I’m in need of a help from the forum, and nen know how to do it in the c#. I will try to explain, I have a form and in this form I have a button that generates a code of two…
c#asked Junior Guerreiro 617 -
0
votes2
answers2041
viewsQ: How to generate an automatic sequential number in C#
Good afternoon.. I have a txtbox1.Tex in my form, and I need to generate a 2-digit sequential number automatically. EX 01, 02, 03 and so on, and shows in txtbox. Could someone help me. Thank you.…
c#asked Junior Guerreiro 617 -
1
votes1
answer849
viewsQ: Number of lines in Datagridview
I have a Datagridview and I need it to show me in a textbox the total number of lines that we have Datagridview. how can I do this. Below follows my code private void ListaGrid() { string strSQL =…
-
0
votes2
answers92
viewsA: Chekbox with filters
I managed to solve the problem, I changed my code to a datagridview.. Thank you for your attention.
c#answered Junior Guerreiro 617 -
-1
votes2
answers92
viewsQ: Chekbox with filters
I have a stock query in C# that generates a report with reportviewer. I have a Checkbox that when I click on it it does not show me the items with zero balance and when I uncheck it shows the items…
c#asked Junior Guerreiro 617 -
-1
votes1
answer538
viewsQ: Passing data field parameters
I have a problem until simple to solve, but since I am new in C# I am not getting the solution. I have two form, form 1 I have of txtBox I put the initial date and final date, and this form 1 I have…
c#asked Junior Guerreiro 617 -
1
votes1
answer60
viewsQ: Error Calling Up Report
I have an error below, when I call a report, which has a query in the database, I am not able to solve. Give a look at the result has nothing to zero Follows the code: SELECT SD.D2_DOC,…
-
1
votes2
answers328
viewsQ: Filling out a form’s textbox with information from a datagridview
I have a datagrideview in a form, and I need that when I click the datagridview cell it fill two fields in another form. As I show in the image below. also follows my code public partial class…
-
1
votes1
answer1462
viewsQ: Set margins and paper size with Printdocument
I need to print labels and I’m using the PrintDocument, only there’s a problem I don’t know how I create the page for printing. Ex. My label has 4 cm tall and 10 cm wide with margins of 0.2 cm. How…
c#asked Junior Guerreiro 617 -
1
votes2
answers908
viewsQ: Printing windows Forms with direct reportviewer on printer
I have an application made in windows forms and reportviewer, my problem is in printing: I need to print right to the printer without having to open the check box to select the printer How to do…