The "Accessdatasource1"-control should have a property called "InsertCommand". That property holds an INSERT statement, in Sql-syntax.
Since you said that the variables contain the correct value, I'm guessing that it must go wrong when writing to the database. That's the task of the Accessdatasource, hence we'd want to check that next
The idea was to point the parameter to the label; the Name should point to the parameter-name (that's "file", from your Sql statement), the ControlId should point to the control that you're binding the parameter to. The Label displays it's contents in a Text property, hence the binding;
Eddy Vluggen!! thanks a lot brother, it worked. i never though of that lol!! TEXT is a reserved word. wth !! ive been dealing with this thing for a week and never though of changing columns names
thanks anyway for all
1) master page(mstr.master) has treeview control
2) aspx pages(detail.aspx and list.aspx) have mstr.master as their master
3) detail.aspx uses $.ajax.... to retrieve the content from detailcontent.aspx(which has no master)
Problem scenario :
(a) detail.aspx has finished loading, with the content from detailcontent.aspx
(b) I click a node in treeview which should load list.aspx(with mstr.master) but then the problem occurs.
(c) the problem is that the postback from the treeview is sent to detailcontent.aspx.