Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI...

I used WebViewPage in mvc but not in ASPCore.

How to pass the page to a function

for example



In MVC
public static DataGridBuilder<object> CreateDataGrid( WebViewPage view){}

In Core
public static DataGridBuilder<object> CreateDataGrid( ??? view){}


؟؟؟=>>>>What kind of input parameters

Thanks

What I have tried:

In MVC
public static DataGridBuilder<object> CreateDataGrid( WebViewPage view){}

In Core
public static DataGridBuilder<object> CreateDataGrid( ??? view){}
Posted
Updated 20-Mar-20 8:43am

Hi dear friend


Look, when I was using mvc

public static DataGridBuilder<object> CreateDataGrid( WebViewPage view)
{
DataGridBuilder<object> DataGrid = view.Html

}


Now how to access in Core

public static DataGridBuilder<object> CreateDataGrid( ??? view)
{
DataGridBuilder<object> DataGrid = view.Html
}
 
Share this answer
 
v2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900