How to set values to a formview control programmaically
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I have a formview bound to a SqlDataSource which I use to insert a record to the database. for this newly inserted record, I want to generate a unique ID programmaticaly - (say ProjectID) and assign it to the formview control (PropertyIDLabel). a method createPropertyID() generates a PropertyID & returns it, but I don't know how I can set this value to the formview control. Can somebody help - immediately please???