troubleshooting Question

asp.net chrome problem

Avatar of sindhuxyz
sindhuxyz asked on
.NET ProgrammingASP.NETVisual Basic.NET
6 Comments2 Solutions429 ViewsLast Modified:
Hi,

I am facing very strange case. Below code return data in firefox, safari, IE but always return nothing(zero row) to chrome. What can be issue with chrome. It is working and returning data in all other browsers.


Dim sqlconn As New SqlConnection(ConnectionString)
        Using cmd As New SqlCommand("spGetUserStatus", sqlconn)
            cmd.CommandType = CommandType.StoredProcedure
            cmd.Parameters.Add("@email", SqlDbType.VarChar).Value = email
            
            Try
                sqlconn.Open()
            Catch ex As Exception

            End Try
            Dim dr As SqlDataReader = cmd.ExecuteReader(CommandBehavior.CloseConnection)
            Dim dt As New DataTable()
            dt.Load(dr)

        End Using
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros