Hi Vasanth,
Please refer below Sample.
HTML
<asp:TextBox runat="server" ID="txtDetails" />
<asp:Button Text="Submit" ID="btnSubmit" OnClick="Submit" runat="server" />
<hr />
<asp:GridView runat="server" ID="gvDetails">
</asp:GridView>
Code
C#
protected void Submit(object sender, EventArgs e)
{
string nos = txtDetails.Text;
List<string> numbers = nos.Split(',').ToList<string>();
gvDetails.DataSource = numbers;
gvDetails.DataBind();
}
VB.Net
Protected Sub Submit(ByVal sender As Object, ByVal e As EventArgs)
Dim nos As String = txtDetails.Text
Dim numbers As List(Of String) = nos.Split(","c).ToList()
gvDetails.DataSource = numbers
gvDetails.DataBind()
End Sub
Screenshot