我有一个GridView
有4列,我用EntityDataSource
来绑定它的工作正常,现在的问题是排序其中一列是'职称'
<asp:BoundField DataField="JOB_TITLE" HeaderText="Job Title" SortExpression="JOB_TITLE"></asp:BoundField>
<asp:EntityDataSource ID="etsCaseUser" runat="server"
ConnectionString="name=****"
DefaultContainerName="****"
EnableFlattening="False"
AutoGenerateWhereClause="False"
CommandText="select ui.[USER_ID], it.[CR_ID], it.[JOB_TITLE], it.[ADMISSION_DATE]
from CASE_REVIEWS as it, USERS as ui where it.[SUBMITTED_BY] LIKE ui.[USER_ID]"
OrderBy="it.[CR_ID]">
</asp:EntityDataSource>
当我单击标题文本进行排序时,它显示如下:
Job Title
Doctor
Teacher
doctor
teacher
正如你所看到的那样区分大小写我想要对案例进行排序不敏感,我该怎么做?任何想法?