For smart Primates & ROBOTS (oh and ALIENS ).

Tuesday, June 28, 2016

Object must be of type String while sorting datagridview

Object must be of type String You are working with DataGridView with  several columns. You want to make sort of one column name "marks". then you will simply use below one line of code: dataGridView1.Sort(dataGridView1.Columns["marks"], ListSortDirection.Ascending);  But you may get error message as below: System.ArgumentException...
Share:

Software caused connection abort Failed to retrieve directory listing in FileZilla

Software caused connection abort Failed to retrieve directory listing in FileZilla FileZilla is a Good software for FTP and SFTP to upload and download files in web-server. sometime in a folder having lot of files for ex: >50000 at that time when you want to see those files simply you double click on that folder. but you surprised that...
Share:

How to use $_POST in better way

How to use $_POST in better way. Suppose there are 10 fields in a PHP webpage that's data are saving into database. In that 10 fields 2 fields are empty and when in values are empty you want store "N/A" values are saving into database.  Use below one line of code: $myval = isset( $_POST['myvar'] ) ? $_POST['myvar'] : 'N/A';  You can...
Share:

Ads Inside Post

Powered by Blogger.

Archive