hi there,

i have a datagrid view in a form. when a button is clicked for the first time a new row is added to the daagridview, when i click the button for the second time i want to check whether there is a blank row in the datagrid view, if there is a blank row in the datagrid view allow the user not to add a new row to the datagrid view, or else add a new row to the datagrid view.

how can i do this???

thanxxxxxxxx

check for null

Select Where Null

check for null

Select Where Null

every cell,
it is not very conveniet, isn't there another way of doing this

thanxxx

SELECT CASE WHEN NameID IS NULL THEN 'Ruffus' ELSE NameID END
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.