Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 September 1st, 2006, 08:19 AM
Registered User
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get data From GridView


I would like to check the data in Gridview. There is a "date" column in my grid and if it's value is "0/0" or "0" or anything wrong value, i would like to change it with Visual Basic(store it, and change) and write back to the grid.

I've made it with DetailsView :

Dim Date As String
Date = DetailsView1.Rows(3).Cells(1).Text
If Date = "0/0" Then
DetailsView1.Rows(3).Cells(1).Text = "No data"
End If

I would like to do the same, but with the GRIDVIEW's Column.

//my e-mail address: whitewolf5@tvn.hu//

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Binding - Editing GridView Row Data desk_star BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 7 December 30th, 2007 11:07 AM
using data in a gridview in a query topherdude ASP.NET 2.0 Basics 1 November 19th, 2007 01:17 AM
Gridview/repeating data Mogg-Way ASP.NET 2.0 Basics 15 July 18th, 2007 02:53 PM
Printing Data from Gridview akhilhp ASP.NET 2.0 Basics 1 January 11th, 2007 06:26 AM
Dynamic data in Gridview lukemack ASP.NET 2.0 Basics 8 May 26th, 2006 03:37 PM

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