----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: RMG781 Message 2 in Discussion You can use connection string to connect to text .<o:p></o:p> connection string :<o:p></o:p> Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\txtFilesFolder\;Extended Properties="text;HDR=Yes;FMT=Delimited";<o:p></o:p> <o:p> </o:p> The quotes " in the string needs to be escaped using your language specific escape syntax. c#, c++ : \"<o:p></o:p> VB6, VBScript : ""<o:p></o:p> <o:p> </o:p> You can write select query like SELECT * FROM txtfilename.txt<o:p></o:p> <o:p> </o:p> If you load the dataset using this, you can update that to database.<o:p></o:p> <o:p> </o:p> -Regards<o:p></o:p> Rekha<o:p></o:p> ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
