I have datarepeater with 1 picturebox control which on form load I would like to fill with images (*.jpg, *.bmp, *.tiff, *.png) found in my pictures.
I have textbox1 used to pass a searchstring to the filter.
Once loaded I would like to filter the pictures in the datarepeater by filename
Code:
Can someone please show me how to set this up ?
Thanks
I have textbox1 used to pass a searchstring to the filter.
Once loaded I would like to filter the pictures in the datarepeater by filename
Code:
VB.NET:
Me.DataRepeater1.Filter = String.Format("[File Name] LIKE '%{0}%'", Me.TextBox1.Text)
Can someone please show me how to set this up ?
Thanks