Sir,
How I display the Header rows. Help me sir.
Dim SB As New StringBuilder
Dim i, j As Integer
Dim Con As New
SqlConnection("database=Payrull;server=sj2005;uid=sa;pwd=;")
Dim SqlDA As New SqlDataAdapter("SELECT Emp_no,
Emp_name,F_Name from Paymast", Con)
Dim SqlDS As New DataSet
SqlDA.Fill(SqlDS)
rec.DataSource = SqlDS.Tables(0)
rec.DataBind()
Dim s1, s2 As String
For i = 0 To SqlDS.Tables(0).Rows.Count 1
For j = 0 To SqlDS.Tables(0).Columns.Count - 1
SB.Append(SqlDS.Tables(0).Rows(i)(j).ToString().PadRight(25))
Next j
SB.Append(Environment.NewLine)
Next i
---------------------------------
Yahoo! India Matrimony: Find your partner now.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/