开发者

How to make an editable textView to enter in a cell but we can scroll a datagridview? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

I tak开发者_如何转开发e a datagridveiw ..in which I make a datagrid in that no one can edit a cells but they can scroll a scrollbar.

I can not used ENABLE property..b'cs in it I can not scroll ....

I used v s 2008


It sounds like you want to build a DataGridView which can be scrolled but not editted. If so then use the ReadOnly property

myDataGridView.ReadOnly = True

Documentation:

  • http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.readonly.aspx
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜