Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Display Modes
  #1 (permalink)  
Old February 7th, 2005, 08:00 PM
Registered User
Join Date: Feb 2005
Location: city, state, USA.
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

Reply With Quote

Thread Tools
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
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 01:48 AM
Datagrid problem urgent pl. Komila General .NET 1 March 31st, 2007 04:15 PM

All times are GMT -4. The time now is 01:36 PM.

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