Hi there,
I have second column as datagridviewTextBoxColumn column in the datagridview, after opening dot net form runtime, in first cell of this column , I am populating ‘-‘ character at third position with remaining everything blank. Requirement is cursor should be at first position in this cell.
But now what is happening is, as my second column’s first cell should have cursor after opening form, we are sending tab key from first column to second column runtime with SendKeys.Send("{TAB}"), as result cursor is located after ‘-‘ which is not requirement , cursor should be at first position in cell.
How can we achieve this? I have given so many tries but still not able to sort it out, now it is urgent, please help me.
Thanks in advance.
I have second column as datagridviewTextBoxColumn column in the datagridview, after opening dot net form runtime, in first cell of this column , I am populating ‘-‘ character at third position with remaining everything blank. Requirement is cursor should be at first position in this cell.
But now what is happening is, as my second column’s first cell should have cursor after opening form, we are sending tab key from first column to second column runtime with SendKeys.Send("{TAB}"), as result cursor is located after ‘-‘ which is not requirement , cursor should be at first position in cell.
How can we achieve this? I have given so many tries but still not able to sort it out, now it is urgent, please help me.
Thanks in advance.