Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to retrieve my SQL table
Message
From
03/12/2006 00:40:50
 
 
General information
Forum:
Microsoft SQL Server
Category:
Backups
Environment versions
SQL Server:
SQL Server 6.5 and older
Miscellaneous
Thread ID:
01174393
Message ID:
01174444
Views:
10
>How i can retrive my tables from net. (into my pc)
public DataSet GetMyData()
{
	string TestConnection = "server=(local);database=MyDataBase;uid=sa;pwd=MyPassword";
	SqlDataAdapter da = new SqlDataAdapter("select * from bob", this.TestConnection);
	DataSet ds = new DataSet();
	da.Fill(ds, "MyTable");

	return ds;
}
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform