We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Prevent Datagrid to create a row when dataset is empty (C#)

Thread ID:

Created:

Platform:

Replies:

4860 Jun 5,2003 03:27 AM UTC Windows Forms 0
loading
Tags: FAQ
Gabriel Schwartz
Asked On June 5, 2003 03:27 AM UTC

I attached a smaple solution to show my problem. When Form1 is created a new row is added with Customer ID 1. If I press ESC the row is removed. I want to prevent this default row creation. If the last line in Form1.cs is unmarked then two customers are created and no default row. I can't find anything from MSDN help on this.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;