You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Binding MS SQL database using CustomAdaptor/Blazor Web app/Grid_MSSQL/Grid_MSSQL/Grid_MSSQL/Data/OrderData.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ namespace Grid_MSSQL.Data
5
5
{
6
6
publicclassOrderData
7
7
{
8
-
publicstringConnectionString="Data Source=(LocalDB)\\MSSQLLocalDB;AttachDbFilename=\"D:\\Documentation\\Final\\connection to database\\WebApp\\Grid_MSSQL\\Grid_MSSQL\\Grid_MSSQL\\App_Data\\NORTHWND.MDF\";Integrated Security=True;Connect Timeout=30";
8
+
publicstringConnectionString=<Enter your connectionstring here>;
9
9
publicasyncTask<List<Order>>GetOrdersAsync()
10
10
{
11
11
stringQuery="SELECT * FROM dbo.Orders ORDER BY OrderID;";
0 commit comments