How to Edit rows in DataGridView?

You need a bidirectional datasource I think you can use SqlCeResultSet instead of a SqlCeDataReader.

You need a bidirectional datasource. I think you can use SqlCeResultSet instead of a SqlCeDataReader.

This doesn't enable Edit mode either. – DanSogaard Mar 8 '10 at 6:22 Well, you have to at least return the PK I guess. – leppie Mar 8 '10 at 6:26 I don't think I fully understand you here, do you mean I should select the p_Name along with p_Id as well?.

I tried this too. – DanSogaard Mar 8 '10 at 6:31.

When frmEdit loads up the DataGridView displays the query just fine, but I can't Edit. I tried dgv. BeginEdit(true), but it doesn't work.

The EditMode works fine if I used wizard to bind datasources to the dgv, but I need to execute my own customized queries and be able to update them directly.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions