Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 2nd, 2006, 10:29 AM
Registered User
 
Join Date: Jul 2006
Location: indore, m.p., India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to harshwardhan_kulkarni
Default allow paging problem

I have put the code
 Me.DataGrid1.CurrentPageIndex = e.NewPageIndex
        Try
            Dim StrC As New Verify
            'Dim dtr As SqlDataAdapter

            Dim SqlConn As New SqlConnection(StrC.StrConn)
            Dim SqlCmdb As New SqlCommand("SearchFltEqComp", SqlConn)
            'Dim SqlCmdb As New SqlCommand("newabc", SqlConn)
            SqlCmdb.CommandType = CommandType.StoredProcedure
            SqlCmdb.Parameters.Add("@rSt", 1)
            SqlCmdb.Parameters.Add("@rT", 5)
            SqlCmdb.Parameters.Add("@fS", 1)
            SqlCmdb.Parameters.Add("@fT", 5)
            Dim i As Integer
            i = 0
            SqlCmdb.Parameters.Add("@Times", i)
            SqlCmdb.Parameters.Add("@rfld", ".NET")

            SqlCmdb.Parameters.Add("@fld", "software")
            SqlCmdb.Parameters.Add("@bd", "Bsc")
            SqlCmdb.Parameters.Add("@md", "Msc")
            SqlCmdb.Parameters.Add("@Comp", "Abcd Pvt. Ltd")
            SqlCmdb.Parameters.Add("@appFld", "software")
            SqlCmdb.Parameters.Add("@appRole", "Sr.Programmer")
            SqlCmdb.Parameters.Add("@Role", "Programmer")
            SqlCmdb.Parameters.Add("@AppRel", ".NET")
            Dim Fdt As Date
            Fdt = "1/1/1999"
            Dim Tdt As Date
            Tdt = "12/1/2006"
            SqlCmdb.Parameters.Add("@Fdt", Fdt)
            SqlCmdb.Parameters.Add("@Tdt", Tdt)
            SqlConn.Open()
            Dim dtr As New SqlDataAdapter(SqlCmdb)
            dtr.Fill(ds)
            Me.DataGrid1.DataSource = ds.Tables(0)
            Me.DataGrid1.DataBind()
             SqlConn.Close()
            Dim x As Integer
            Dim Str As String
            For x = 0 To Me.DataGrid1.Items.Count - 1
                Str = CType(Me.DataGrid1.Items.Item(x).Cells(0).Controls (1), LinkButton).Text
            Next
        Catch ex As Exception
            Me.Label1.Text = ex.Message
        End Try
yet the mark of next button is not activated
why

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paging Problem aneesh_sunu@yahoo.co.in PHP Databases 1 November 25th, 2006 02:25 AM
DataGrid Paging Problem hoailing22 ASP.NET 1.0 and 1.1 Basics 5 April 23rd, 2006 03:15 AM
Problem with recordset paging Stefania Classic ASP Databases 0 February 11th, 2005 08:59 AM
Problem with my paging... fung Classic ASP Databases 2 August 23rd, 2004 07:43 AM



All times are GMT -4. The time now is 10:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.