I have and String in ViewBag.SubjectName="Hindi"
How Get Selected Item Select in Select List Selected .NET Core
Subject :@foreach (var t in ViewBag.SubjectName)
{@t} , Topic : @foreach (var t in ViewBag.TopicName)
{@t}
6 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Laxmidhar SahooPosted Jan 2, 2020, 11:07 PM
Balwant SinghPosted Jan 2, 2020, 9:12 PM
Laxmidhar SahooPosted Jan 2, 2020, 8:46 AM
Ashutosh GuptaPosted Jan 2, 2020, 8:23 AM
Balwant SinghPosted Jan 2, 2020, 6:30 AM
Laxmidhar SahooPosted Jan 1, 2020, 11:01 PM