Hi Here I am using Code for ROW Data Come to COLUMN Wise
Dim strSQL17 As String = "SELECT STUFF((SELECT DISTINCT ', ['+ FeesType +']' FROM FeeMaster WHERE Class='" & cboClass.Text & "' For XMl Path('')), 1, 1, '') as VFeeType"
DataGridView2.Columns.Add(0, Dset17.Rows(0).Item("VFeeType"))
Column Cannot Seperate it come one column only
Now My OUT PUT DGV
Column1
[Team-1],[Team-2]
I Expect Like This
Colum1 Colum2
Team-1 Team-2
Please Tell me How to Slove this code..
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)