🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #24383

Re: ��������������ȡ���ģ�

#24383
From: john
Date: Wed, 21 Jan 1998 00:00
36 lines
2182 bytes
�� �� diff () �Ĵ������ᵽ: ��
: �� �� johntom (john) �Ĵ������ᵽ: ��
: : hi,��Һã�����һ�������ģ���������java�����Ƽ���
: : ���ÿ����ҵ����ˡ�
: : 
: : ����һ�����⣬�Ѿ�������һ���������ˣ�ϣ�������
: : ���ֲ��ߴͽ̣�
: : 
: : ����JDBC��д��ݿ���򣬵���getString()ȥȡ����
: : ����ʱ��ȡ����ȴ���ҷ����execteUpdate()����ݿ�
: : ��д����ʱ��д��ȥ��Ҳ���ҷ�֪��ν����
: : 
: : ���õ���JDK1.1.1.
: : 
: 
: �Ҹ�ݸ��˾��飬��������½��飬���ܸ���ط���ȷ�����Ҿ���
: ��������Ч��ʵ�õġ�
: 
: ���в���ȷ�Ķ�������������ʡ���ӭ���Ժ�������������¡�

Hi,diff, �dz���л��������˶̵�ʱ���ڸ���������꾡�Ļش�
  �������Ѿ��ܹ�����ݿ����������ʾ�����ˣ�лл��
  �����һ����޷�������д����ݿ⡣
  ���磺
  PreparedStatement pstmt=con.prepareStatement("UPDATE table SET field1=? ");
	  
  pstmt.setBytes(1,"����");

  pstmt.executeUpdate();

  �Ͳ��С�
  ��ô���أ����Ҽ���ͽ̣�����������л�ˣ�

--
 ��Դ: ����������BBSվ��bbs.nease.net�E[FROM: www-post@bbs.nease.n]
Technical Details
Message-ID: <3MbZMb$7iZ@bbs.nease.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,f33d1911fa4c9572
X-Google-Attributes: gidf6cb0,public
From: johntom.bbs@bbs.nease.net (john)
Subject: Re: ��������������ȡ���ģ�
Date: 1998/01/21
Message-ID: <3MbZMb$7iZ@bbs.nease.net>
X-Deja-AN: 317946128
X-Filename: Java/M.885370693.A
Organization: gzdcb 
Newsgroups: cn.bbs.comp.lang.java,