Skip to main content
ur should be 'your'
Source Link
Matthew Groves
  • 26.2k
  • 11
  • 74
  • 126

In C# ,

Please convert it to to vbVB for uryour liking Here...

first thing passing a data table is a headache try passing it through the view data like

  return View (Category.SelectCategory().AsEnumerable().ToList());

and in the aspx page try using that like this

    Html.DropDownList("list",viewdata.model)

this should work ...

In C# ,

Please convert it to to vb for ur liking Here...

first thing passing a data table is a headache try passing it through the view data like

  return View (Category.SelectCategory().AsEnumerable().ToList());

and in the aspx page try using that like this

    Html.DropDownList("list",viewdata.model)

this should work ...

In C# ,

Please convert it to to VB for your liking Here...

first thing passing a data table is a headache try passing it through the view data like

  return View (Category.SelectCategory().AsEnumerable().ToList());

and in the aspx page try using that like this

    Html.DropDownList("list",viewdata.model)

this should work ...

Source Link
lucky
  • 65
  • 1
  • 1
  • 9

In C# ,

Please convert it to to vb for ur liking Here...

first thing passing a data table is a headache try passing it through the view data like

  return View (Category.SelectCategory().AsEnumerable().ToList());

and in the aspx page try using that like this

    Html.DropDownList("list",viewdata.model)

this should work ...