Jeep

文章数: VB开发

how to click "close" button on vb.net form without firing Textbox's Lostfoucs() event

[Problem Description] Once click "close" button on vb.net form Textbox's Lostfoucs() event is fired. [Resolve] ...Handles Textbox.Validating ... cmdClose.CausesValidation=False

DataGridView with multiple table

Display columns from two tables in one DataGridView There're two ways. One way is to use SQL( join ) one DataTable, one DataAdapter. set "DataGridView.dataSource = DataTable". It's OK It's very easy,but disadvantage is that you can not use "dataAdapter.update"...

strName = rs.Fields()

以前在VB6中 strName = rs.Fields() 但在VB.NET中是运行不过的 strName = rs.Fields().value
 
Accessible and Valid XHTML 1.0 Strict and CSS
Powered by pLog - Design by BalearWeb