protected void RelativeFamilyIDFrom(Double RelativeMemberID) { Double[] allFamily = new Double[10]; Double id; sSQL = "SELECT AF_FamilyID FROM AllFamily"; sSQL = sSQL + " WHERE AF_MemberID IN('" + RelativeMemberID + "')"; DS = new DataSet(); da = new OdbcDataAdapter(sSQL,conn); da.Fill(DS); ArrayList list = new ArrayList(); if (DS.Tables.Count > 0) { if (DS.Tables["table"].Rows.Count > 0) { for (int i = 0; i < DS.Tables["table"].Rows.Count; i++) { allFamily[i] = Convert.ToDouble( DS.Tables["table"].Rows[i]["AF_FamilyID"].ToString()); list.Add(allFamily[i]); } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)