string sql = "SELECT stateid,statename FROM countrystate where country_id='{0}' ";SqlDataAdapter da1 = new SqlDataAdapter( string.Format(sql,countryid) );