SqlDataSource1.UpdateParameters["Adresa"].DefaultValue = NovaAdresaTextBox.Text;
That code is setting the default value used in the update queries' parameters. SqlDataSource should expose a View for the table in question. I don't use SqlDataSource but look around, you should be able to:
SqlDataSource["TableName"][rowIndex].Field = value;
SqlDataSource["TableName"].Save();
If you hadn't had any luck by morning i'll get the exact syntax.
Reputation Points: 1749
Solved Threads: 735
Senior Poster
Offline 3,948 posts
since Feb 2009