I have dropdown that will have a text and a value which will be used as the tablename.
How would I do a linq to Sql
string TName = ViewBag.Name;
var get = (from p in db.[TName] .Where etc
I have dropdown that will have a text and a value which will be used as the tablename.
How would I do a linq to Sql
string TName = ViewBag.Name;
var get = (from p in db.[TName] .Where etc