2 repeaters in page each repeater with 3 textboxs created dynamically and link button(Add more) to add inside repeater to add textboxs dynamically at the end of page submit button to insert the values to db.
suppose i click on addmore button to add three rows of textboxs and values enterd into it and finally when i click on submit button then it should check the condition for each of rows in repeater if its is true then page redirected to other else error message should display... this is same for both repeaters...
i have an Access db. im uploading an image to my gallery table.
anyway. i need to insert some text in the field before adding the filename string
i need it to look this way at the db
Hi Eddy thanks for ur replay
Maybe i should get me a NON-Express edition of visual studio
unfortunatly im using the express edition where i cant do that. if u think there is a way after all i'd love to know
thanks for ur help brother !
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;