Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Datagridview-Scrollbar
 

Datagridview-Scrollbar

Hi friends,
When i click a button ,On datagridview how to bring down the scroll bar down?
Regards
Divakar
Divakar_ibpm  Monday, May 07, 2007 4:53 AM
try this:

Code Snippet

void button1_Click(object sender, EventArgs e)

{

this.dataGridView1.FirstDisplayedScrollingRowIndex++;

}

try this:

Code Snippet

void button1_Click(object sender, EventArgs e)

{

this.dataGridView1.FirstDisplayedScrollingRowIndex++;

}

Hi Zhi-Xin Ye,

Thanks for your kind response.

Regards

Divakar

Divakar_ibpm  Tuesday, May 15, 2007 6:37 AM

You can use google to search for other answers

Custom Search

More Threads

• how to display report in datagrid
• DataGridView ComboBox
• Beginner data binding question
• Combo Box problem
• How to handle DateTime Variable and NULL Value
• Toolstrip bound text box
• How can i run SQL server 2005 Job using vb.net
• Generating PK by using one bindingnavigator control
• adding new record in a parent/child scenario with identity PK
• Sizable multiple list boxes