Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2006

Tip: Looking for answers? Try searching our database.

Question about windowsforms.datagrid control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rhaazy - 26 Jul 2006 15:05 GMT
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?
rhaazy - 26 Jul 2006 18:33 GMT
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.
> Using C#
>
[quoted text clipped - 6 lines]
> data in it) to allow the user to add it leading to the eventual insert
> into a database?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.