Click here to Skip to main content
15,905,614 members

Comments by ketan chandpa (Top 17 by date)

ketan chandpa 23-Mar-16 3:11am View    
thanks for comment and finally i got my solution for this.
i forgot to put auto generated columns to false in child grid.
ketan chandpa 23-Mar-16 2:20am View    
on the page load event inside the page.ispost back code
<pre>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
If Not Page.IsPostBack Then
If Val(Session("ESrNo")) <= 0 Then
Page.ClientScript.RegisterStartupScript(Me.GetType(), "RelAm1", "ShowRelogin();", True)
Exit Sub
End If
ClearAllAm()
LoadCheckBoxRaw()
BindAmMasterGrid()
End If
Catch ex As Exception

End Try
End Sub
</pre>
ketan chandpa 19-Jan-16 0:13am View    
Thanks for your replay and your solution working well i have to change one small thing that is instead of Company1 IS NOT NULL i have to use Company1 != ''
but thanks for your help.
ketan chandpa 18-Jan-16 5:27am View    
Thanks for comments but i solve this issue in another way using union and i got the result what i want but there is only one problem that is the Serial number of the rows are repeat like 1,2,3,2,3,2,3,6,6 and i want this in serial number like 1,2,3,4,5,6 ....
any idea you have?
ketan chandpa 18-Jan-16 5:06am View    
i use unpivot but it gives me one columns with 18 rows.
the results also included the empty data from the table and i dont want that.
so any other help or example you have?.