PC Review


Reply
Thread Tools Rate Thread

Button in a datagrid (windows form)

 
 
MCDave
Guest
Posts: n/a
 
      25th Mar 2005
Hi all,

I'm trying to get a datagrid to display a button in every row, so that when
the user clicks on it, the value from the first column (record index) is
read, and then a new window opens for the user to see the full record (for
editing or what not).
I've seen examples in ASP.Net all over the place, but none for Windows
Forms.

Alternatively the user could just click on a row (no button) and the window
would open (not sure how to capture a row-click event, either).

I would use a listview, but the sortable columns on the datagrid are pretty
convenient.

MC


 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      25th Mar 2005
Hi,

http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q888q

Ken
----------
"MCDave" <daven(delete_this)@miraclecatDELETETHISTOO.com> wrote in message
news:(E-Mail Removed)...
Hi all,

I'm trying to get a datagrid to display a button in every row, so that when
the user clicks on it, the value from the first column (record index) is
read, and then a new window opens for the user to see the full record (for
editing or what not).
I've seen examples in ASP.Net all over the place, but none for Windows
Forms.

Alternatively the user could just click on a row (no button) and the window
would open (not sure how to capture a row-click event, either).

I would use a listview, but the sortable columns on the datagrid are pretty
convenient.

MC



 
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
datagrid and button on the form iccsi Microsoft Access Form Coding 8 17th Mar 2009 02:36 PM
Add Button to a Windows Form Datagrid Kiran Microsoft VB .NET 5 12th May 2005 03:20 PM
Datagrid with Button - Windows Application =?Utf-8?B?RHJldw==?= Microsoft C# .NET 2 6th Apr 2005 04:17 AM
DataGrid Web form button question =?Utf-8?B?QnJpYW5ESA==?= Microsoft VB .NET 0 12th Nov 2004 04:58 PM
Windows XP Button vs Framework window form button A-PK Microsoft Dot NET Framework Forms 6 1st Mar 2004 07:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.