switch matter linq
my formula sql tie controlling linq is:
var query1 = u dc.usage_computers
where u.domainuser == s3
name u; // selects feilds table
gridview1.datasource = query1;
gridview1.databind();
i have domain called "operation" list "domainuser" values "1, 2, 3". i stock values information grid i wanted modify revealing values value operation 1 following arrangement datagrid "logon", 2 following "logoff" etc...
how i distribute values after retrieving database?
Comments
Post a Comment