You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OboutSuite/Grid/vb_integration_email_client...

16 lines
827 B

<%@ Page Language="VB" %>
<%@ Import Namespace="System.Data.OleDb" %>
<%@ Import Namespace="System.Data" %>
<%@ Register TagPrefix="grid" Namespace="Obout.Grid" Assembly="obout_Grid_NET" %>
<%@ Register TagPrefix="oem" Namespace="OboutInc.EasyMenu_Pro" Assembly="obout_EasyMenu_Pro" %>
<script language="VB" runat="server">
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
GetEmailContent(Integer.Parse(Request.QueryString("CategoryID").ToString()))
End Sub
Public selectedEmailID As Integer = 0
Public Sub GetEmailContent(ByVal CategoryID As Integer)
Dim _oleDBConnetion As OleDbConnection = New OleDbConnection()
_oleDBConnetion.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + Server.MapPath("../App_Data/emailclient.mdb") + "; User Id=; Password="