PC Review


Reply
Thread Tools Rate Thread

column values in a datagrid

 
 
daisy
Guest
Posts: n/a
 
      28th Jul 2003
Can anyone point me to the syntax on how to fetch
indiviual column values from the current row in a
datagrid on a button click in C# or VB.


 
Reply With Quote
 
 
 
 
Nanda
Guest
Posts: n/a
 
      29th Jul 2003

Hi,
try this,

dataGrid1[dataGrid1.CurrentCell.RowNumber,
dataGrid1.CurrentCell.ColumnNumber].ToString();

HTH,
Nanda
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Getting row column values in ASP.NET datagrid? Usenet User Microsoft ASP .NET 2 13th Sep 2005 08:51 PM
Q: datagrid values with column name =?Utf-8?B?SklNLkgu?= Microsoft ASP .NET 4 9th Apr 2005 05:07 PM
addiing values to a column in Datagrid SenthilVel Microsoft ASP .NET 1 6th Jan 2005 07:04 AM
column values in datagrid daisy Microsoft Dot NET Framework Forms 1 28th Jul 2003 09:34 PM
column values in a datagrid daisy Microsoft Dot NET Framework Forms 0 28th Jul 2003 04:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:45 AM.