Jump to content
Xtreme .Net Talk

shannanl

Members
  • Posts

    2
  • Joined

  • Last visited

shannanl's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am new to .net and vb2005. I am working on a database program that uses a datagridview and several list boxes, etc. In old VB6 I used the .show and .zorder to show a list box and set it to front. I understand that .bring to front is what we use now. My problem is that it seems whenever I move some controls around on the page and then back to their original positions (during design), they may or may not show up when I run the program. An example; I have a large data grid view on the screen and a couple of list boxes that are not visible until the user clicks on a button. I set the list boxes to visible = true and bring to front. If I move the list boxes around to work on some other things and then back and run the program, sometimes its not visible even when I click the button to make it visible and set it to front. I noticed this on some other controls. Is it docking these to another item? Thanks, Shannan
  2. I am new to ado.net. I have a dataset that I am using to populate a datagridview. Under the grid I have a text box and I want the user to be able to filter the datagrid based on what they type in the box. As an example, if the user types an "A" then all people listed in the grid with the last name of "A" will show up. If they type "AB", only people starting with "AB" will show up. I use the WHERE LIKE '" & textbox1.text & "%' as my query. I don't want to have to requery the db each time. I understand that this can be done with the dataset but I don't know how. Any help would be greatly appreciated. Shannan
×
×
  • Create New...