Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 7th, 2005, 09:00 PM
Registered User
Join Date: Feb 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default datagrid problem urgent pls.

i have a datagrid and in that datagrid i have a edit button and whenever the user click on edit it will make the datagrid in a editable works great but the problem is here....

on top of the datagrid i have a textbox for search instead of browsing all the pages user can type on textbox and search but on my editcommand its not giving me the proper itemindex

what i mean is that,

after i search and the search result display on the grid i click on edit, once i click on the edit button inside the datagrid it always give me ITEMINDEX to 0

anybody have simiar expirence ?

Public Sub dg_EditCommand(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs ) Handles dg.EditCommand

       dg.EditItemIndex = e.Item.ItemIndex

   End Sub

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can any one help me pls Urgent..? venkatu2005 ASP.NET 1.0 and 1.1 Basics 1 April 8th, 2008 08:45 AM
problem with downloading with php..pls help urgent raaj Beginning PHP 1 November 9th, 2007 02:48 AM
Datagrid problem urgent pl. Komila General .NET 1 March 31st, 2007 04:15 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.