Hello all
How can i return database that using SELECT
Here is my code
Public Function Recommened_GetUser(ByVal UserID As Integer, ByVal Path As String) As Data.DataTable
Dim table As New Data.DataTable("Recommendhotel")
table.ReadXml(Path & filename)
Dim drs As DataRow()
drs = table.Select("UserID='" & UserID & "'")
Return table
End Function
I want to select that only show depend on condition (UserID)
I really appreciate all the help you can give me!
Thanks in advance
Loading
CrishPosted Dec 2, 2010, 1:47 AM
Its very easy and simple solution for us. thanks for giving us this solution it will very helpful in out end.
Suthish NairPosted Dec 1, 2010, 3:13 PM