473,748 Members | 2,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataGridView how move to last record?

I have form that have Datagridview. I want that grid stand on the last
record when form open. then user can move down one line to add new
record. I not find Property like current_index thet can be set to last
record. How I do that?

Jan 28 '07 #1
3 3666
Are you using databinding ? Are you using .Net 1.1 or .Net 2.0?

Robin S.
-------------------------
<mt******@yahoo .comwrote in message
news:11******** **************@ h3g2000cwc.goog legroups.com...
>I have form that have Datagridview. I want that grid stand on the last
record when form open. then user can move down one line to add new
record. I not find Property like current_index thet can be set to last
record. How I do that?

Jan 29 '07 #2
I use with 2.0 (datagridview is exist from 2.0) ,the datasource of
grid is datatable. I not use explicit with Databinding.

On 29 Jan, 03:00, "RobinS" <Rob...@NoSpam. yah.nonewrote:
Are you using databinding ? Are you using .Net 1.1 or .Net 2.0?

Robin S.
-------------------------<mtczx...@yahoo .comwrote in messagenews:11* *************** ******@h3g2000c wc.googlegroups .com...
I have form that have Datagridview. I want that grid stand on the last
record when form open. then user can move down one line to add new
record. I not find Property like current_index thet can be set to last
record. How I do that?- Hide quoted text -- Show quoted text -
Jan 29 '07 #3
How are you loading your grid if you're not using DataBinding?

Just loading the rows into it?

Robin S.
--------------------------------
<mt******@yahoo .comwrote in message
news:11******** *************@l 53g2000cwa.goog legroups.com...
>I use with 2.0 (datagridview is exist from 2.0) ,the datasource of
grid is datatable. I not use explicit with Databinding.

On 29 Jan, 03:00, "RobinS" <Rob...@NoSpam. yah.nonewrote:
>Are you using databinding ? Are you using .Net 1.1 or .Net 2.0?

Robin S.
-------------------------<mtczx...@yahoo .comwrote in
messagenews:11 *************** *******@h3g2000 cwc.googlegroup s.com...
>I have form that have Datagridview. I want that grid stand on the last
record when form open. then user can move down one line to add new
record. I not find Property like current_index thet can be set to last
record. How I do that?- Hide quoted text -- Show quoted text -

Jan 31 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5615
by: Arvind | last post by:
Hi I edit a cell in a DataGridView, and then would move to another cell in the DataGridView using mouse. Then the DataGridView as of now does scroll down to the last visited cell. But when I try to edit the same last visited cell, focus gets shifted to the first few visible rows as per the dimensions set for the DataGridView. To be exact it goes to the cell in the first row, and the same column. If I can say it this way, I would like...
1
680
by: sixsoccer | last post by:
I have built a database with a <Mainform> and a <Subform>. My problem is twofold. 1. My subform is set as a continuos form with AllowAddiotions set to NO (ie. a list of Issues to the client on the mainform) 2. To add new issues, a button is used and a pop-up form is used to add an issue with more detail than what's available on the subform. 3. On accepting the new Issue from the pop-up the pop-up closes and you are returned to the...
0
1480
by: Vico | last post by:
Hi! I have this scenario: I have a windows form. I have a DataGridView Control which is bound to a DataSource. Under the DataGridView I have texboxes which represent each one of the columns in the Datasource (also shown in the datagridview) As I move from row to row, the values of the textboxes (which are also bound to the datasource) change according to the value of each column of such row. That is perfectly normal.
2
8721
by: Rick Shaw | last post by:
Hi, I have a problem with the datagridview not refreshed when the application first appear on the screen. The datagridview display data from a table in the dataset. At the same time, I've added checkbox columns that are not bounded the table. This datagridview is located in the tab (2nd). I thought I mention that since that might be part of the problem (?). When the applications start, it will need some parameter criteria selection...
2
7449
by: Rich | last post by:
Hello, Some database applicatins have a tooltip feature where when you are dragging the scrollbar of the table view a tooltip appears next to the mouse cursor displaying the approximate record number you are scrolling past (Excel, Access). Sql server has the rownumbers on the Row Header column of its table view. Ideally, I would like to add row numbers to the Row Header column of the datagridview like sql server - Any suggestions...
0
1700
by: =?Utf-8?B?SmltIFdhbHNo?= | last post by:
I am a .NET newbie, specifically WinForms. I have a simple Winform for which I have a "How To" question: My WinForm app will display data from a FoxPro database, two tables in particular: Patients, and Sessions. There is one record in the Patients table for each patient. The PatientID is the primary key. The sessions table contains all of the visits that all of the patients have made to the lab. There is a one-to-many relation between...
7
15658
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is there an equivalent property for the DataGridView? I have searched, but have not found one. I would like the user to be able to see all the columns of the table on one screen - thus eliminating the need to use the horizontal scroll bar to view...
0
2304
by: Matt Pegg | last post by:
Hi all, I want be able to enable and disable navigation buttons when on the first or last row of a DataGridView object. I have a populated DataGridView and two buttons - "First Row" and "Previous Row". If the user clicks "First Row", they are taken to the first row in the DataGridView via: Private Sub btnFirstRecord_Click(...) ' Move to first record in job list
0
1750
by: =?Utf-8?B?S3VtYXIuQS5QLlA=?= | last post by:
I edit a cell in a DataGridView, and then would move to another cell in the DataGridView using mouse. Then the DataGridView as of now does scroll down to the last visited cell. But when I try to edit the same last visited cell, focus gets shifted to the first few visible rows as per the dimensions set for the DataGridView. To be exact it goes to the cell in the first row, and the same column. If I can say it this way, I would like to see...
0
8996
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9386
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.