Hello,
I didn't use GetPaged or a Custom SP...
I found my solution with the .Find() method and with the help of the follwing page http://blog.csdn.net/ILOVEMSDN/archive/2007/03/15/1530737.aspx
But I have a question about performances is the faster method, or what a specialist would suggest ?
here is a part of my code:
CoursParameterBuilder query1 = new CoursParameterBuilder();
query1.BeginGroup();
query1.Append(string.Empty,CoursColumn.Regle, "false", false);
query1.AppendIsNull(CoursColumn.DteIntermediaire);
query1.EndGroup();
query1.BeginGroup("OR");
query1.Append(string.Empty, CoursColumn.Regle, "false", false);
query1.AppendGreaterThanOrEqual(CoursColumn.DteIntermediaire, dateTimePicker1.Value.ToString());
query1.AppendLessThanOrEqual(CoursColumn.DteIntermediaire, dateTimePicker2.Value.ToString());
query1.EndGroup();
bindingSourceCours.DataSource = DataRepository.CoursProvider.Find(query1.GetParameters());
Thank's for your help