1. ListBox
listBox1.SelectedIndex = listBox1.Items.Count - 1;
2. ListView
listView1.Items[listView1.Items.Count -1].EnsureVisible();
3. TextBox
tbMessage.SelectionStart = tbMessage.Text.Length;
tbMessage.ScrollToCaret();
4. dataGridView
dataGridView1.CurrentCell = dataGridView1.Rows[i].Cells[0];
'asp.net with c#' 카테고리의 다른 글
ListView Item IndexOfKey (0) | 2013.11.06 |
---|---|
코드 블록 설정 (0) | 2013.06.19 |
코드비하인드에서 자바스크립트 실행 (0) | 2012.02.12 |
(펌).NET에서 javascript escape,unescape 함수와 같은 역할을 하는 것은? (0) | 2012.02.03 |
c# 연산자 (0) | 2012.02.01 |