Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.67K
~376 People Reached
Favorite Forums
Favorite Tags
1 Posted Topic
hi. I'm using this code: using(SqlConnection connection = new SqlConnection("<connection string>")) { SqlDataAdapter adapter = new SqlDataAdapter( "SELECT SomeField, SomeOtherField FROM Table" ); adapter.UpdateCommand = new SqlCommand( "UPDATE Table SET SomeField = @SomeField WHERE TheKey = @TheKey" ); adapter.UpdateCommand.Parameters.Add( "@TheKey", SqlDbType.Int).SourceColumn = "TheKey"; adapter.UpdateCommand.Parameters.Add( "@SomeField", SqlDbType.Binary).SourceColumn = "SomeField"; DataTable table …
The End.
Renas22