× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Chris,

This is my first attempt at .net and you have me totally confused. I
copied what I thought was the pertinent parts and got code errors. The
following is what I did.

Imports IBM.Data.DB2.iSeries
Imports System.Data

Partial Class _Default
Inherits System.Web.UI.Page
Private cn_connString As String = ""
Private cn As iDB2Connection
Private cn_iSeriesFQDN As String = "myIseries.domain.com"
Private cn_user As String = ""
Private cn_pass As String = ""
Private _ConvertByte As Boolean = False

Public Sub New(ByVal iSeriesFQDN As String, ByVal user As String,
ByVal pass As String, Optional ByVal ConvertByte As Boolean = True)
cn_iSeriesFQDN = iSeriesFQDN
cn_user = user
cn_pass = pass
_ConvertByte = ConvertByte

cn_connString = "DataSource=" & cn_iSeriesFQDN & _
";UserID=" & cn_user & _
";Password=" & cn_pass
cn_pass = ""

End Sub

Thanks for your help,

Lee


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.