当前,我正在编写asp.net核心mvc应用程序,并且使用了默认身份。问题是-在主视图中,单击“登录”按钮后,我重定向到支架式登录页面,但未加载登录页面上的布局。 是否可以在脚手架登录页面中加载相同的布局? 我的首页-https://pasteboard.co/IfBZ8em.png 我的登录页面-https://pasteboard.co/IfC0gVj.png 仅有我的索引视图显示布局
答案 0 :(得分:1)
当您的Dim songart(,) As String = {{"song1", "artist1"},{"song2","artist2"}}
Dim testing(New Random().Next(0, testing.Length - 1))
文件中没有 Private Sub Worksheet_Change(ByVal Target As Range)
Dim InputRange, rng As Range
Set InputRange = Range("I2:L11")
For Each rng In InputRange.Cells
If ((Target.Address = rng.Address) And (Target.Value <= 5 And Target.Value >= 1)) Then
'use the function CTL
Exit For
End If
Next rng
Function CTL(a) As Range
If IsEmpty(a.Value) = True Then
MsgBox "ok"
ElseIf IsNumeric(a.Value) = False Then
MsgBox "non-numeric entry"
ElseIf Int(a.Value) = False Then
MsgBox "integer required"
ElseIf a.Value > 5 Or a.Value < 1 Then
MsgBox "valid values are between 1 and 5"
Else:
MsgBox "ok"
End If
End Function
时,就会发生这种情况。这位于
身份文件夹> 页面> ViewStart.cshtml 。添加它,它应该可以工作