I´m using a Dialog Box in my Web MAtrix Site that contains a text field which the user can insert whatever he wants to be recorded in the database.
So far so good, I have wrote the code correctly.
The problem is when he press the "send" button I don´t know how to get this new data. I have two options:
a-) Refreshing the page after recording;
b-) Geting the data and inserting without refreshing it - (the best option).
Any Suggestions? I looked for it in the MSN library but didn´t find anything.
db.Execute("INSERT INTO Links (Linkadd, CategoryID2, LinkUser ) VALUES (@0,@1,@2)", link, categoriesna, WebSecurity.CurrentUserId);
Refresh();!? / Response