Click here to Skip to main content
Sign Up to vote bad
good
See more: VB.NET
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..
Posted 17-Feb-13 8:20am


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 453
1 Ron Beyer 316
2 Tadit Dash 243
3 OriginalGriff 236
4 samadhan_kshirsagar 173
0 Sergey Alexandrovich Kryukov 7,061
1 Prasad_Kulkarni 3,830
2 OriginalGriff 3,620
3 _Amy 3,370
4 CPallini 3,074


Advertise | Privacy | Mobile
Web04 | 2.6.130619.1 | Last Updated 17 Feb 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid