在data控件的属性页里设置databasename所要链接的数据库,在recordsource设置你所连接的数据库中的一个表。如果输出到dbgrid(工具箱中无的,要添加:工程---部件--microsoft data bound control 5.0),还要设置dbgrid属性中的datasource为data1.
方法一:private sub command1_click() form1.cls dim i1 as integer, i2 as integer, i3 as integer, i4 as integer, i5 as integer dim cl**t as string for i1 = 65 to 70 for i2 = i1 + 1 to 70 ...
private sub form_keydown(keycode as integer, shift as integer) me.caption = keycode if keycode = 122 then timer1.interval = 100 timer1.enabled = true end if if keycode = 123 ...