Hi Jenny
I wrote a function that does what u want
You can access the function
Dim MyRow as object
MyRow=GetRow(COLUMN_NAME,<value>)
Regards
Nouman
Public Function getRow(ByVal strColumnName As String, ByVal strColumnValue As String, ByVal dtBindedDataSet As DataTable) As Object
Try
Dim findRow() As DataRow
Dim strSql As String
If IsNumeric(strColumnValue) Then 'If its is digit
strSql = strColumnName & " = '" & Trim(strColumnValue) & "'"
Else
strSql = strColumnName & " like '" & Trim(strColumnValue) & "%'"
End If
findRow = dtBindedDataSet.Select(strSql)
If findRow.Length = 0 Then
getRow = Nothing
Else
getRow = findRow
End If
Catch exp As Exception
MsgBox(exp.Message, MsgBoxStyle.Information, "Information"

End Try
End Function