all groups > dotnet windows forms > july 2006 >
You're in the

dotnet windows forms

group:

Question about windowsforms.datagrid control



Question about windowsforms.datagrid control rhaazy
7/26/2006 7:05:54 AM
dotnet windows forms: Using C#

I want to be able to select the last VISIBLE row in the datagrid.

When I try to do this using the datagrid.select method it tells me my
index is out of range.

How can I programatically select the last VISIBLE row (which has no
data in it) to allow the user to add it leading to the eventual insert
into a database?
Re: Question about windowsforms.datagrid control rhaazy
7/26/2006 10:33:06 AM
Figured it out, simple solution. However I do have anothe rproblem
maybe someone can help me with.

I need to be able to make all the columns in the selected row turn into
textbox columns.
I have found examples of making a column a textbox column, but what I
really need is a textbox row.... Any help would be appreciated.
[quoted text, click to view]
AddThis Social Bookmark Button