wwwouter
02-09-2005, 05:29 PM
I want to make a guestbook in flash,
I made it in an aspx (guestbook.aspx) file (object oriented)
Class Guestbook with the var
Class GuestbookAdmin with the functions
Class DataAccess to make access to my database
at my guestbook.aspx files
a submit button, when I trigger this button
next code behind will be fired :
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Dim theGuestbook As New Guestbook
Dim theGuestbookAdmin As New GuestbookAdmin
theGuestbook.Name = Request.Form.Item("txtName")
theGuestbook.Email = Request.Form.Item("txtEmail")
theGuestbook.Comment = Request.Form.Item("txtComment")
theGuestbook.MyDate = GetDatum()
theGuestbookAdmin.NewGuestbook(theGuestbook)
End Sub
and a repeater to show the data
code behind :
rptTable.DataSource = theGuestbookAdmin.GetMessages
rptTable.DataBind()
>> so everything works well,
but ... how can I do the same but instead of the inputform and send button a flash movie with form ...
I doesn't work when I make a flash form movie
>> input fields with the names txtName, txtEmail, txtComment
and a submit button with the name btnSubmit and the following code
on(release)
{
getURL("guestbook.aspx", 0, "POST");
}
PLEAZZZ ... help me ... thanx a lot
Wouter
I made it in an aspx (guestbook.aspx) file (object oriented)
Class Guestbook with the var
Class GuestbookAdmin with the functions
Class DataAccess to make access to my database
at my guestbook.aspx files
a submit button, when I trigger this button
next code behind will be fired :
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Dim theGuestbook As New Guestbook
Dim theGuestbookAdmin As New GuestbookAdmin
theGuestbook.Name = Request.Form.Item("txtName")
theGuestbook.Email = Request.Form.Item("txtEmail")
theGuestbook.Comment = Request.Form.Item("txtComment")
theGuestbook.MyDate = GetDatum()
theGuestbookAdmin.NewGuestbook(theGuestbook)
End Sub
and a repeater to show the data
code behind :
rptTable.DataSource = theGuestbookAdmin.GetMessages
rptTable.DataBind()
>> so everything works well,
but ... how can I do the same but instead of the inputform and send button a flash movie with form ...
I doesn't work when I make a flash form movie
>> input fields with the names txtName, txtEmail, txtComment
and a submit button with the name btnSubmit and the following code
on(release)
{
getURL("guestbook.aspx", 0, "POST");
}
PLEAZZZ ... help me ... thanx a lot
Wouter