Hi,
I think that you are not using the fill method right. The second
parameter should be the source (DB) TableName. Your code should be like
that:
for (int i =0; i < 6; i++) {
this.sqlDataAdapter1.Fill(dsDF, "DbTableName");
dsDF.Tables[i].TableName = "Table" + i.ToString()
}
Natty Gur[MVP]
blog :
http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!