tvihnshvh
دوشنبه 25 شهریور 1392, 16:13 عصر
دستور substring به چکار آید بخصوص در نمونه برنامه زیر :
dgv1.DataSource=s.person1.Where(c => c.name.Substring(0, txtsearch.Text.Length)
==txtsearch.Text)
.Select(c => c);
dgv1.DataSource=s.person1.Where(c => c.name.Substring(0, txtsearch.Text.Length)
==txtsearch.Text)
.Select(c => c);