Imports System.IO
Imports System.Data
Imports System.Data.OleDb
Imports System.Data.SqlClient
Imports System.Configuration
Public Class WebForm1
    Inherits System.Web.UI.Page
    Protected Sub pic_btn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles pic_btn.Click
        Image1.ImageUrl = String.Format("Images/{0}.jpg", txtIC_No.Text.Trim())
        Image1.Visible = True
    End Sub
    Protected Sub dtl_btn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles dtl_btn.Click
        Dim FILENAME As String = Server.MapPath("mykaddata.txt")
        Dim objStreamReader As StreamReader
        objStreamReader = File.OpenText(FILENAME)
        Dim contents As String = objStreamReader.ReadToEnd()
        txtIC_No.Text = contents.Split(","c)(0)
        txtName.Text = contents.Split(","c)(1)
        objStreamReader.Close()
    End Sub
End Class
I split the value based on comma,but is it possible if I want to split based on tab.So whenever tab is found,the next value will enter another text box.
 
910322075877       MUHAMMAD SHAFIQ BIN MOHD KAMAL
So,I wanted to insert data above into 2 separate text box.
Please help me