$ /etc/init.d/apache2 restart * Restarting web server apache2 ulimit: 88: error setting limit (Operation not permitted) apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ulimit: 88: error setting limit (Operation not permitted) apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Action 'start' failed. The Apache error log may have more information. To fix this issue run following line in terminal: sudo gedit /etc/apache2/httpd.conf and add following line in opened file: ServerName localhost Save file and close text editor (gedit). Now restart apache
'Dim data as ArrayList = new ArrayList ' data is 2d arraylist ' cmbMain is ComboBox Dim choices = New Dictionary(Of String, String)() For i As Integer = 0 To data.Count - 1 choices(data.Item(i).Item(0)) = data.Item(i).Item(1) Next cmbMain.DataSource = New BindingSource(choices, Nothing) cmbMain.DisplayMember = "Value" cmbMain.ValueMember = "Key"
Comments
Post a Comment