Hi there,
I am working on this form and I am having a difficult time trying to insert data into the database without having to use gridview, or something like that. I have textboxes and and dropdown lists all over the place and i want enter/selected values to be sent to the DB.
Heres some code:
<asp:SqlDataSource
ID="SqlDemographicsSrc" Runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
InsertCommand="INSERT tblDemographics (Provider_ID,Review_Date, Review_Quarter, PCN, Program,
MR_No, DOB, Gender, SOC, DC, Ref_Source, MD, Prim_Diagnosis)
VALUES (@Provider,@ReviewDate,@Quarter,@PCN,@ProgramName,@MR_No,@DOB,@Gender,
@SOC,@Discharge,@ReferralName,@PrimDiag)">
</asp:SqlDataSource>
I understand this code fairly well, but from what i can gather is that is used with DataBound control ...
Go to the complete details ...