Posts by Thomas Erich Pimentel • 3,059 points
164 posts
-
0
votes1
answer20
viewsA: Xtragridview - Where with variable
Good morning, you guys. After 1 day and a few hours, looking for a solution, I managed to accomplish as follows: In Sqldatasource, a parameter named "queryParameter1" is created, follows code:…
-
0
votes1
answer20
viewsQ: Xtragridview - Where with variable
Everybody good night, how are you? I’m creating a user registration screen, where every user has an ID, on this screen, I have an xtragridview, which carries some address information. However, in…
-
1
votes1
answer102
viewsA: tabpage - read-only textbox
Friends good morning. I managed to solve the problem. The error was that while doing the loop was mentioning Tabcontrol, however the controls are in Tabpage. It follows corrected condiment: foreach…
-
1
votes1
answer102
viewsQ: tabpage - read-only textbox
Guys good night how are you? I have a form, with a tabpage, and with some textbox, I’m trying to deploy in the page load, that the property isreadonly is true. but I’m not getting it, I’m using the…
-
0
votes1
answer116
viewsA: Xtragrid - Grdview - Click event
You guys, this is it. If column editing is enabled, the event does not occur. For the Click event to occur, add the line below in the gridview options: AllowEdit = False Thanks…
-
0
votes1
answer116
viewsQ: Xtragrid - Grdview - Click event
Good morning, you guys. How are you? I’m having a hard time implementing an event by clicking on Gridview. I’m using the components of Devexpress, Xtragrid.Gridview. Well, I’m adding the event:…
-
1
votes0
answers27
viewsQ: Dxerrorprovider Doubts in the use
How are you? I am starting to use Devexpress components, and would like to implement Dxerrorprovider, which in my case, if the value of the text box is null, or empty, would be displayed the error…
-
3
votes2
answers114
viewsQ: Return original Textbox formatting
I have a method, which checks if a Textbox is filled, positive case follows normal, if it is blank, it displays a message on the screen, and paints Textbox background yellow, Here comes my doubt,…
-
0
votes1
answer4546
viewsQ: Value of the first cell of the selected line datagridview
Friends good night. I am having difficulties in processing the data of a datagridview, I need that when the user clicks on the line, it is assigned to a variable, the value of the cell, of the first…
c#asked Thomas Erich Pimentel 3,059 -
1
votes2
answers129
viewsA: Return - Method called in Form1, and Return in form2
Thanks for your help. Today, I managed to settle by doing the following: on Form1 I added inside my method: public void logar() { c_consulta.sqlconexão(); SqlConnection sqlcon = new…
-
0
votes2
answers129
viewsQ: Return - Method called in Form1, and Return in form2
Folks good night, one question. I have a Form1 that calls a class and a method, sending this method two string parameters, this method processes, and returns me an int value. My question is, is it…
-
2
votes1
answer70
viewsQ: Problem running eventhandler
I have a class, which is executed under a button, it makes two select in a bank. apos, need to take these two data and make available to use in a second form, I’m trying to make EventHandler,…
-
0
votes1
answer289
viewsA: Sql Reader returning null value
Thanks for your help, I decided, what happened was: the two data I was looking for in the table, are of type INT, and I was wanting to run a datareader, which looks for values of type string. hence…
-
2
votes1
answer289
viewsQ: Sql Reader returning null value
I’m running a datareader, however does not return any value, already checked in the table and conditions (where) of select exist in the table. The code goes below: public void consulta() { string…