Código:
y ahora lo que quiero es extraer datos del dataSet no se si me pueden ayudar, anteriormente e extraido masomenos de esa manera datos desde un DataGridView pero en este caso no hay datagridview.Inherits System.Web.UI.MasterPage Private xCod As String = cVarShared.codeu.ToString Private xNom As String = "" Private xApell As String = "" Private xArea As String = "" Private xCargo As String = "" Private xPerm As String = "" Private sql As String = "" Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init End Sub Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Try Dim codigo As String = Session("codigo") If codigo.Trim().Length <= 0 Then Response.Redirect("default.aspx") End If Catch ex As Exception Response.Redirect("default.aspx") End Try xCod = Request.QueryString("xCod") sql = "SELECT * FROM datab.usuarios u WHERE codigo = '" & xCod & "'" Dim objDatos As New cDatos() objDatos.conectar() Dim xds As DataSet = objDatos.queryDS(sql)
salu2 y gracias de antemano