Thread View: cn.bbs.comp.lang.visual-basic
1 messages
1 total messages
Started by dqkit
Wed, 07 Feb 2007 15:06
��̹���VB�ж�ȡ��ݿ���ݵ�����
Author: dqkit
Date: Wed, 07 Feb 2007 15:06
Date: Wed, 07 Feb 2007 15:06
11 lines
1388 bytes
1388 bytes
��λ��������֪����VB��ΰ���ݿ�����һ���������ijһ�е����ͳ�Ƴ���������Select count(*)=num from....��ȡ����ֻ����DataGrid��ʾ��������֪����ΰ�num��ֵ�ŵ�һ��textBox�����أ�лл��
������datagridʱ��Դ�룺
Private Sub Command1_Click()
Data1.RecordSource = "SELECT count(*),sum(*) FROM answered WHERE
person=" & "'" & Text1.Text & "'"
Data1.Refresh
End Sub
��������һ���ı���������Ҫ�������ġ�
--
[m[36m�� ��Դ ����ɾ�bbsվ http://bbs.scau.edu.cn [FROM: 58.62.223.*][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads