<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/load-relational-data-in-asp-net-core-grid-with-microsoft-sql-ibua8qazr" -->

---
title: Load Relational Data in ASP.NET Core Grid with Microsoft SQL
description: This post discusses how to integrate relational data from an SQL Server database into a Telerik UI for ASP.NET Core Grid component. It provides an explanation...
canonical: https://daily.dev/posts/load-relational-data-in-asp-net-core-grid-with-microsoft-sql-ibua8qazr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Load Relational Data in ASP.NET Core Grid with Microsoft SQL | daily.dev
og:description: This post discusses how to integrate relational data from an SQL Server database into a Telerik UI for ASP.NET Core Grid component. It provides an explanation...
og:url: https://daily.dev/posts/load-relational-data-in-asp-net-core-grid-with-microsoft-sql-ibua8qazr
og:image: https://api.daily.dev/og/posts/IBua8qazr.png
og:image:alt: Load Relational Data in ASP.NET Core Grid with Microsoft SQL
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Load Relational Data in ASP.NET Core Grid with Microsoft SQL

**[Telerik](https://daily.dev/sources/telerik)** · 5 min read · 6 upvotes · 0 comments

## Summary

This post discusses how to integrate relational data from an SQL Server database into a Telerik UI for ASP.NET Core Grid component. It provides an explanation of the ForeignKey method and demonstrates how to add a foreign key in the Grid component of Telerik UI for ASP.NET Core.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.telerik.com/blogs/how-load-relational-data-telerik-ui-aspnet-core-grid-microsoft-sql-server>

---

Tags: [#.net](https://daily.dev/tags/.net), [#microsoft-sql-server](https://daily.dev/tags/microsoft-sql-server), [#.net-core](https://daily.dev/tags/.net-core), [#aspnetcore](https://daily.dev/tags/aspnetcore), [#telerik-ui](https://daily.dev/tags/telerik-ui)

[View this post on daily.dev](https://daily.dev/posts/load-relational-data-in-asp-net-core-grid-with-microsoft-sql-ibua8qazr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Load Relational Data in ASP.NET Core Grid with Microsoft SQL","url":"https://daily.dev/posts/load-relational-data-in-asp-net-core-grid-with-microsoft-sql-ibua8qazr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/load-relational-data-in-asp-net-core-grid-with-microsoft-sql-ibua8qazr"},"datePublished":"2024-05-07T15:14:50.315Z","dateModified":"2024-05-09T08:22:04.995Z","description":"This post discusses how to integrate relational data from an SQL Server database into a Telerik UI for ASP.NET Core Grid component. It provides an explanation...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/45c177e5e497932a29a92e46d39661c9?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/45c177e5e497932a29a92e46d39661c9?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Telerik","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Telerik","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/5ee6d4bef8ac4f84886d06f5881963e7","url":"https://daily.dev/sources/telerik"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/load-relational-data-in-asp-net-core-grid-with-microsoft-sql-ibua8qazr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":".net,microsoft-sql-server,.net-core,aspnetcore,telerik-ui","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Telerik","item":"https://daily.dev/sources/telerik"},{"@type":"ListItem","position":3,"name":"Load Relational Data in ASP.NET Core Grid with Microsoft SQL"}]}
```

