Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

About DataGridView

$
0
0
Hello Everybody,

I am a person who has never used DataGridView
Now I am Learning something about it

I want to have some equivalent code and its understanding

First of all I have a textbox and a listbox
I am able to search every Item in a listbox using textbox
Now I want to have more columns in a listbox which is impossible for a newbie kind of guy like me.
So I took the advice from some Master Programmers and decided to use DataGridView

Lets say I have some code as below

If not listbox1.selectedIndex = -1 then
   If not listbox1.selectedIndex = 0 then
      listbox1.selectedindex = listbox1.selectedindex + 1
   end if
end if



Can any help me for the equivalent code for the datagridview

Thanks in advance.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>