Questions tagged as 'winforms'

1
answer

How to display 2 DB tables within a DataGridView in the application?

I have an application developed C# using the Windows Forms project that displays the Database People Table in a list in the DataGridView field. However I need to display in the DataGridView also the Endereco ta...
asked by 16.08.2017 / 13:08
1
answer

Save Log of operations in the bank with system user field

Hello, I would like to know how to by means of triggers in the database I can besides save the operations performed and in which table also performed the user logged in the system (not the user of the bank, if the user of the system) at the m...
asked by 14.06.2016 / 17:29
0
answers

AccessViolationException When I type ALT or TAB C # WINDOWS FORM [closed]

I have a form where the Form calls the form (Call), in this Form Call has a list of students and a Panel that is with visible = false, in that same screen I call a class where it makes recognition I have a problem with the following: See...
asked by 23.11.2015 / 19:21
0
answers

How to monitor the progress of an INSERT VB.NET query?

I am storing files in a SQL server database using a varbinary (max) field. I would like to know if it is possible to detect the progress of the file upload (which in this case would be an INSERT in the table) using VB.NET. If progress can...
asked by 10.03.2016 / 22:50
1
answer

Replace a variable within a Word file

I am trying to do in C # (Windows Form application) to print a Word .doc only by changing some parsions of type @Nome to a string . In short, I have a contract and I need to print it. By reporting specific fields, I already hav...
asked by 12.08.2016 / 19:18
1
answer

Coloring RichTextBox words

My goal is to color all words that are within double quotation marks, and the quotation marks too! For example: "This text needs to be colored".     
asked by 02.07.2016 / 22:14
0
answers

Connection problem with .mdf database [closed]

I'm having a hard time connecting my C # (Windows Forms ) application with a database with .MDF already inserted into the project folder . On the course computer it worked normally, however at home I already put the name of the insta...
asked by 23.05.2015 / 03:42
2
answers

Serialization of a large list in JSON.Net

I have a problem with the serialization of an object (a list of a class with approximately 5000 items). I am using JSON.NET to generate the Json string but it is getting the following problem, in the middle of it is a text like this: ,{"Sta...
asked by 23.12.2015 / 14:35
3
answers

Show property value instead of class name in DataGridView [closed]

I have a DataGridView that should show data between related tables and I can not show the data correctly, it shows the name of the nameSpace followed by the name of the class. I saw some things and they showed an override, but I also read that i...
asked by 07.10.2016 / 14:51
2
answers

Fill in several combobox

I can fill a combobox with DataTable, but in my case I need to fill 2 combobox and 1 checkedboxlist with data from a MySQL bd //formulário cadastro private void frmCadastroRecibo_Load(object sender, EventArgs e) { Classes.DBconect con = ne...
asked by 11.12.2014 / 05:53