31
Answers

Datagridview weird behaviour

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

Answers (31)
0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Pushpendra Shukla

Pushpendra Shukla

14 14.9k 5.9k 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Pushpendra Shukla

Pushpendra Shukla

14 14.9k 5.9k 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

When I change a value in a cell the record is updated via a SQL Insert statement which works fine. When I don't change a value in a cell and just tab to the next cell, it removes all the current rows from the datagridview and renders a new row.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

You can reffer below book also

https://www.amazon.in/12-NET-Cross-Platform-Development-Fundamentals-ebook/dp/B0CGZVT568

Thanks.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

You can reffer below book also

https://www.amazon.in/12-NET-Cross-Platform-Development-Fundamentals-ebook/dp/B0CGZVT568

Thanks.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

You can reffer below book also

https://www.amazon.in/12-NET-Cross-Platform-Development-Fundamentals-ebook/dp/B0CGZVT568

Thanks.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

You can reffer below book also

https://www.amazon.in/12-NET-Cross-Platform-Development-Fundamentals-ebook/dp/B0CGZVT568

Thanks.

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

You can reffer below book also

https://www.amazon.in/12-NET-Cross-Platform-Development-Fundamentals-ebook/dp/B0CGZVT568

Thanks.

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

You can reffer below book also

https://www.amazon.in/12-NET-Cross-Platform-Development-Fundamentals-ebook/dp/B0CGZVT568

Thanks.

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

It seems like you’re experiencing an unusual behavior with your DataGridView. This could be due to a variety of reasons, and without more specific details about your implementation, it’s hard to pinpoint the exact cause. However, here are a few general suggestions that might help:

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Pushpendra Kumar Shukla

Pushpendra Kumar Shukla

86 1.1k 653 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>

0
Divyansh Gupta

Divyansh Gupta

36 5.1k 5.3k 1y

use update panel for showing updating records. your records are removed due to page refresh that why recodrs are distory.

you should be use repeater or datagrid both under the UpdatePanel .

<asp:UpdatePanel ID="UpdatePanelId" runat="server">

<ContentTemplate>

// your data grid

</ContentTemplate>

</asp>UpdatePanel>