daPattern.SelectCommand = new SqlCommand("SELECT * from Pattern", cs); dsPattern.Clear(); daPattern.Fill(dsPattern); PatternBS.DataSource = dsPattern.Tables[0]; ID.DataBindings.Clear(); ID.DataBindings.Add(new Binding("Text", PatternBS, "ID"));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)