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
Read XML using datatable
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Suthish NairRank #92 · 22.8K reputationPosted Dec 1, 2010, 10:13 AM EST
CrishRank #1,487 · 1.1K reputationPosted Dec 1, 2010, 8:47 PM EST
Its very easy and simple solution for us. thanks for giving us this solution it will very helpful in out end.