Posts by Ana Carvalho • 389 points
22 posts
-
1
votes2
answers316
viewsA: Refresh Listview c#
I did it differently. I cleaned out Listview, and then I filled it back in! Thus : listView.Items.Clear(); Search(); search() is where I get the values to fill in the data for Listview.…
-
1
votes2
answers76
viewsA: Foreach at a checklist in c#
For those who want the solution is here: UltraListViewSubItem subItem; List<UltraListViewSubItem> subItemArray; UltraListViewItem item = new UltraListViewItem( row["Version"].ToString(),…
-
0
votes2
answers205
viewsA: Sort files by name c#
To help those who need help, the answer to the already solved question is as follows:: string[] sqlFilesLocation = Directory.GetFiles(path, "*.sql", SearchOption.TopDirectoryOnly); foreach (string…
-
2
votes2
answers1294
viewsA: show selected value in listview c#
Using Infragistics, it may be possible to select the item on listvew as follows: string text = listView.SelectedItems[0].Text.ToString();
c#answered Ana Carvalho 389 -
0
votes2
answers140
viewsA: Directories in c#
For those who want to know how I solved the problem is as follows : string path = "C:\Users\anacarvalho\Desktop\Teste"; string[] sqlFilesLocation = Directory.GetFiles(path, "*.sql",…
c#answered Ana Carvalho 389 -
1
votes3
answers176
viewsA: Tooltip in a Listview in c#
I was checking the question I asked, and I saw that I didn’t put the answer here for anyone who has the same problem as me. The problem I was having is because I didn’t have the Tooltip reference…
-
-1
votes2
answers3189
viewsQ: See if there is a file in a folder c#
I wanted you to check if the file you chose already exists in a certain folder defined at least. If it does not exist, you can copy the file.
c#asked Ana Carvalho 389 -
-2
votes2
answers124
viewsQ: Remove half of the file name
I have a page to pick up a path, which is the Folder Browser Dialog and the path that is saved is like this : "C: ana Updates 2017 2017_04\" I wanted to go through the path, save only the result in…
-
0
votes2
answers205
viewsQ: Sort files by name c#
I have several files like this: - C:\ByMe\SOLUTIONS\Dictation1\Database\Updates\2017\2017_04\20170405_TR\1_CREATE_TABLE_BMTApprovalGroupExam.sql -…
-
1
votes2
answers1294
viewsQ: show selected value in listview c#
Good morning. I have a listview with a list view. I wanted you to save the selected value when clicking on a certain line. How can I do?
c#asked Ana Carvalho 389 -
0
votes2
answers183
viewsQ: Select in Sql Server
Good morning. I have a table with columns Version, Updated, LastChanged. I want to make a query to select the highest version value, with the respective LastChanged, corresponding to Updated = 1; I…
-
2
votes1
answer65
viewsQ: Insert Sql Server
I have a multi-column table. The unique identifier is the ID, but my question is the following: I have a column version, I want to insert only a value without repetition. How can I implement this?…
sqlasked Ana Carvalho 389 -
-1
votes1
answer49
viewsQ: Reverse checkbox c#
I have this code. You’re reading my checkboxes from top to bottom when they’re all checked. But what I needed was, when he started reading, I wanted him to start reading from 2.9.15 up. Not 2.9.16…
-
0
votes2
answers487
viewsQ: Invisible speakers in Listview
I have a listview with a series of columns, but I’d like to hide a few, how do I do that?
-
1
votes3
answers2752
viewsQ: Comparison of Strings in sqlServer
Good morning. I have two strings defined : '2.9.15' and '2.9.16'; I need to compare them and tell you which one is the biggest. I don’t know how to do.
-
-1
votes3
answers176
viewsQ: Tooltip in a Listview in c#
I have a ListView with several CheckBox created through the database. Wanted to CheckBox as I passed the mouse over, I opened a tooltip with various information from that field. I’ve tried to do it…
-
2
votes2
answers316
viewsQ: Refresh Listview c#
Good morning. I have a Form1 with several methods. In one of the methods I create another form2. In Form1, I have a listview with Database values. In form2 I will insert new values. I would like to…
-
3
votes2
answers269
viewsQ: Select in windows form c#
Imagining I have 3 checkbox: 2.9.1 2.9.2 2.9.3 I wanted, that I click on the 2.9.3, selects me all that are behind. It’s the kind of a select all, but only select me from a given number upwards that…
-
5
votes2
answers76
viewsQ: Foreach at a checklist in c#
private void Checked() { foreach (ListViewItem listItem in listView.Items) { if (cb_selectAll.Checked == true) { listItem.Checked = true; } if (cb_selectAll.Checked == false) { listItem.Checked =…
-
0
votes2
answers83
viewsQ: Checkbox help in C#
I have this code. private void Verificar() { mUpdater = new DatabaseUpdaterService(); mUpdater.Initialize(false, null); DataTable dt = mUpdater.GetVersionCheckBoxToUpdate(); int h = 0; foreach…
-
0
votes1
answer388
viewsQ: Checkbox in C#
How to insert Checkbox into the Form from a database. Where the table field will be the Checkbox Text? Example: Tabela -- 0|Versao 1|2.9.15 2|2.9.16 put 2 Checkbox for the user to choose the…
c#asked Ana Carvalho 389 -
3
votes2
answers140
viewsQ: Directories in c#
I have several. Sql files in this directory: C:\Users\anacarvalho\Desktop\Teste how do I get all these files?
c#asked Ana Carvalho 389