halp me
halp me
I please help me, my code is the next :
Imports System
Imports System.Data
Imports WebApplication17.Global
Imports CoreLab.PostgreSql
Imports CoreLab.Common
Imports CoreLab.Cryptography
Imports CoreLab
Public Class WebForm1
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim oODBCConnection As CoreLab.PostgreSql.PgSqlConnection
Dim sConnString As String = "Server=132.248.246.6;Database=egredb;Uid=opsql;Pwd=pancita$--;"
oODBCConnection = New CoreLab.PostgreSql.PgSqlConnection(sConnString)
Try
oODBCConnection.Open()
Dim strSQL As String = "select folio,nombreal from egredt"
Dim da As CoreLab.PostgreSql.PgSqlDataAdapter
da = New CoreLab.PostgreSql.PgSqlDataAdapter(strSQL, oODBCConnection)
Dim ds As New System.Data.DataSet
da.Fill(ds, "egredt")
DataGrid1.DataSource = ds.DefaultViewManager
Catch ex As Exception
Label1.Text = ex.ToString
End Try
'PgSqlDataAdapter1.Fill(DataSet11)
End Sub
End Class
and dont see nothing...