将信息从数据库转换为vcard [英] Convert info from a database into a vcard

查看:105
本文介绍了将信息从数据库转换为vcard的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿@all
我是初学者prgrammer @ VB.Net,并且已经填写了表格.该表格显示了我数据库中的联系信息.我现在想做的是以另一种形式显示此信息并另存为VCF,以便它将生成VCard..有人知道该怎么做吗?

thnx

hey @all
I am a beginner prgrammer @VB.Net and i have made a form. This form shows contact information from my database. What i wanna do now is show this info in another form and save as VCF so it wil be generate a VCard.. is someone know how to do this?

thnx

推荐答案

您需要使用数据库字段生成.vcf文本文件,就像这样!



You need to generate a .vcf text file using your database fields ,Like this!!



BEGIN:VCARD
FN:Mr. John P. Smith, Jr.
TITLE:General Manager
ORG:XYZ Corp.;North American Division;Manufacturing
ADR;POSTAL;WORK:;;P.O. Box 10010;AnyCity;AnyState;00000;U.S.A.
LABEL;POSTAL;WORK;ENCODING=QUOTED-PRINTABLE:P.O. Box 10010=0D=0A=
Anywhere, TN  37849=0D=0A=U.S.A.
ADR;PARCEL;WORK:;133 Anywhere St.;Suite 360;AnyCity;AnyState;00000;U.S.A.
LABEL;POSTAL;WORK;ENCODING=QUOTED-PRINTABLE:133 Anywhere St.=0D=0A=
Anywhere, TN  37849=0D=0A=U.S.A.
TEL;Work;VOICE;MESG;PREF:+1-234-456-7891 x56473
TEL;Home:+1-234-456-7891
TEL;Pager:+1-234-456-7891
TEL;Cell:+1-234-456-7891
TEL;Modem;FAX:+1-234-456-7891,,*3
EMAIL;Internet:webmaster@anywhere.com
URL:http://www.anywhere.com/mrh.vcf
UID:http://www.anywhere.com/mrh.vcf
TZ:-0500
BDAY:1997-11-29
REV:20090401T065518
VERSION:2.1
END:VCARD



如果您需要更多详细信息,请点击此链接:)



follow this link if you require more details :)


是的.我知道细节..

寻找我的另一个问题..我将尝试通过按新形式的按钮来获取此信息..这将生成v卡..表明我希望这可以工作.

到目前为止(th)的thnx
Yes thnx.. i know the details..

look for my other question.. i will try to get this info with a push on my button in a new form..that wil generate a v-card.. show i hope this wil work.

thnx for so far (Y)


这篇关于将信息从数据库转换为vcard的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆