![]() ![]() This->dataGridView1->Name = "DataGridView1" This->dataGridView1->Location = System::Drawing::Point( 96, 71 ) This->bindingSource1 = gcnew System::Windows::Forms::BindingSource This->dataGridView1 = gcnew System::Windows::Forms::DataGridView Do not modify it using the code editor. It can be modified using the Windows Form Designer. NOTE: The following procedure is required by the Windows Form Designer System::ComponentModel::IContainer^ components System::Windows::Forms::BindingSource ^ bindingSource1 ![]() System::Windows::Forms::DataGridView ^ dataGridView1 Add any initialization after the InitializeComponent() call This call is required by the Windows Form Designer. Public ref class Form1: public System::Windows::Forms::Form It also demonstrates how to set the DataSource property. The following code example demonstrates how to initialize a simple data-bound DataGridView. The exception object can typically be cast to type FormatException. An error occurred in the data source and either there is no handler for the DataError event or the handler has set the ThrowException property to true. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |