dataGridview BeginEdit isn't working

Answered
0
0

Dear All

I try to migrating to VS 2026 with Wisej 4 using Net Core 10.

I have some trouble to using dataGridview to edit data.

dataGridView1.SetCurrentCell(1, 0);
dataGridView1.BeginEdit(true);

 

Try using code above to edit cell text, but the cell didn’t change to EditMode.

There no problem when using Dataset, but dataset not supported in Net Core.

Please there any suggestion how to solve this (example in attachment)

 

Thanks

 

Nicky

 

 

 

 

 

  • You must to post comments
Best Answer
0
0

Hi Nicky,

it’s not a problem with Wisej.NET 4 or .NET Core 10.

Just use a DataGridViewTextBoxColumn instead of a DataGridViewColumn.

Best regards
Frank

  • nicky suwandi
    Thansk Franks(ITG), its working.
  • nicky suwandi
    Dear Frank (ITG) Why when in Net Framework and using dataset, we can change column Type in designer, but in Net Core, when see in designer, column Type is disable (so we must change manual in code in file designer) Thanks Nicky
  • Frank (ITG)
    Hi Nicky, it’s not implemented in the .NET Core designer. So you either change it in code or add a new column and delete the old one. Best regards, Frank
  • You must to post comments
0
0

DataSets are supported perfectly well in net 10. BeginEdit works just as well.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.