![]() Define your CommunicationTable as a field of your newly created form and put your CommunicationTable initialization somewhere in the initialization code (the form's constructor is a good candidate). You've got to create a new Windows Forms project and drop a DataGridView control on it. Sorry for my poor English and thanks in advance Here I fulfilled "manually" the DataTable, but the new entries will be created by receiving the UDP Packetsįor the moment, I can only visualize the DataTable with the Debug, using the "scope" on the watch of the DataTable (Visual Studio) NewEntryDateTableCom(SmartphoneTest2, CommunicationTable) SenderIdentifier SmartphoneTest2 = new senderIdentifier() NewEntryDateTableCom(SmartphoneTest, CommunicationTable) SenderIdentifier SmartphoneTest = new senderIdentifier() InitDataTableCommunication(CommunicationTable) I would like to show on screen in a very simple way something like this :ĭata Viewing static void Main(string args)ĭataTable CommunicationTable = new DataTable() I have searched for Datagridview, but I didn't success to use it. I have created a datatable that store all those IP addresses and informations linked to the sources, and I try to display this table in the program when I run it.īecause the program is constantly listening to UDP packets, the viewing of the table should be updated in real time. ![]() ![]() I have a program coded in c# that receives UDP packets from different sources with multiple IP address. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |