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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Clicked row id in syncfusion asp.net

Thread ID:

Created:

Updated:

Platform:

Replies:

130444 May 13,2017 09:15 AM UTC May 15,2017 12:45 PM UTC ASP.NET Web Forms 1
loading
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]"  
        ... 
        DeleteCommand= 
        "DELETE FROM [Orders] WHERE [OrderID] = @OrderID" 
       ... 
</asp:SqlDataSource> 
 

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. 

Regards, 
Manisankar Durai. 


CONFIRMATION

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.

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

;