Hello,
Can someone please help me to find a way to put a variable name which will store the class name read from the database in the place of the class name "Role1" in the below code.
IEnumerable dataresult;
dataresult = connection.Query("sp_ReadGridData", new{ gridname ,id, usrname, LinkId }, commandType: CommandType.StoredProcedure);
return Request.CreateResponse(DataSourceLoader.Load(dataresult, loadOptions));
Thanks,
Hanusha
Sachin SinghPosted Oct 14, 2020, 12:34 PM
AnuPosted Oct 14, 2020, 9:22 AM
Sachin SinghPosted Oct 14, 2020, 8:59 AM
Kiran MohantyPosted Oct 14, 2020, 7:42 AM
AnuPosted Oct 14, 2020, 6:49 AM
Kiran MohantyPosted Oct 14, 2020, 5:12 AM