<asp:LinqDataSource runat="server" ID="LinqDataSourceLoanbase" ContextTypeName="GoldenSeaDataDataContext"
TableName="Loan_base" EnableUpdate="true" EnableInsert="true">
</asp:LinqDataSource>
GoldenSeaDataDataContext context = new GoldenSeaDataDataContext();
rgdLoanbase.DataSourceID = String.Empty;
rgdLoanbase.DataSource=from u in context.Loan_base
where u.合同编号.ToLower().Contains(input )
|| u.贷款人.Contains (input)
||u.实际使用人 .Contains (input)
||u.实际利率.ToString().Contains (input )
orderby u.贷款人
select u;
rgdLoanbase.DataBind();