Mar 18, 2009 - 04:20 AM
let's say object page is the object to show pages. Let's say object List is is your dropdaown.
You read data from db into and get some datatable or reader
We will create some data class.
public class Data
public int id;
public string DropString;
public string path;
And then load data from DB there.
Also we will create. In next fromat List _data;
Then in our page load add
List.DataSource = _data
List.DisplayMember = "DropString"
List.ValueMember = "DropString"
//be shure to create public propeies in Data class to make this work
Then for our page we do next.
Page.DataSource = _data
// I can't test so not shure that next is correct play with this.
Page.DisplayMember = "path"
So now we have one row that will be shown. And if you press next it will shows next picture and next in deopdown(if everything correct).
After that add specific rules for this and it might work as you wish.
Apr 09, 2009 - 08:47 AM
The Quomon Team