We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Clicked row id in syncfusion asp.net

Thread ID:





130444 May 13,2017 09:15 AM UTC May 15,2017 12:45 PM UTC ASP.NET Web Forms 1
Tags: Grid
Hüseyin Cenk Özmutlu
Asked On May 13, 2017 09:15 AM UTC

Hi, I have a question about syncfusion grid. I hava sycfusion grid. I want to delete a row from this grid and SQL Database. How can I focus that I clicked row's ID? Thanks for your replies.

Mani Sankar Durai [Syncfusion]
Replied On May 15, 2017 12:45 PM UTC

Hi Hüseyin, 

Thanks for contacting Syncfusion support. 

Based on your query we have already documented a Syncfusion knowledge base of about how to perform CRUD operations in grid with SqlDataSource. 
Refer the code example. 
<asp:SqlDataSource ID="SqlData" runat="server" ConnectionString="<%$ ConnectionStrings:NORTHWNDConnectionString %>" 
            SelectCommand="SELECT * FROM [Orders]"  
        "DELETE FROM [Orders] WHERE [OrderID] = @OrderID" 

From the above code example we can delete the record in grid based on primary key column (OrderID). 

Please let us know if you need further assistance. 

Manisankar Durai. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon