I added datagridview on form.
set property- scrollBar : Both
dynamically I add data in datagridview .
Appears vertical scroll but horizontal isn’t present.
How can i show horizontal scroll.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It works fine. It depends if your DataGridView control has the width large enough to hold the columns you have in your data source: if it does, then no horizontal scroll will appear.
Set the width property to a smaller value and the horizontal scroll will be present.
The same with vertical scroll. They both appear only when the control can’t display the data.