Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go to rec number
Message
From
10/12/2005 14:55:59
 
 
To
10/12/2005 14:35:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
OS:
Windows Server 2003
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076881
Message ID:
01076890
Views:
17
tank'u but i dont understand'u i've this ;

Public Function buscar(ByVal registro As integer) As DataSet
Dim ds As New DataSet
Dim olecommand As New OleDbCommand

olecommand.CommandText = "select * from recordfile "
Dim oleadapter As New OleDbDataAdapter
'Dim id As New OleDbParameter("@id", OleDbType.Char, 10)

'id.Value = registro

'olecommand.Parameters.Add(id)

olecommand.CommandType = CommandType.Text

olecommand.Connection = oleconect
oleadapter.SelectCommand = olecommand
Try
' oleconect.Open()
'olecommand.ExecuteNonQuery()
oleadapter.Fill(ds)
'oleconect.Close()
Return ds
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try


End Function

parameter registro is the rec number i'need obtain datas to that number. than'u how i make that.
Daniel Vargas.
MCP - Microsoft Certified Professional

"El callar y escuchar es cosa de sabios por ello nuestro grito nace de silencio consciente fuerte y elocuente... vivir de manera diferente es morir siendo libre"

Elkin Ramirez-Kraken

My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform