Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
>HI, all...
> Because i use the drop and pop method to do a DataBindings.... But i want to some of field do not
>display to interface , if i set the textbox to visable = false ,then the field can't insert to database...
>So i want use the datagridview one on top of another textbox, then the datagridview will over the textbox
>area (like disappear), but i can 't do it ...How can i do?
In the designer Rightclick on the Textbox you want to hide. choose 'Send to Back' (or choose the Datagrid and select 'Bring to Front')
Alternatively you can edit the *.designer.vb file and make sure the Me.Controls.Add() for the Textbox occurs bedore that for the Datagridview (Stacking order is determined by the order in which items are added to their container - first on top, last at bottom)
But if you don't need this field in the interface then why not just access it directly. There may be better ways but something like MyBindingSource.Current.Item("FieldName") should work.....
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement