Save Value (selected in repeater )to DB on Submit in Single Click

How to Save Seleced Values in Repeater by single Click

Page 1 of 1

0 Replies - 1371 Views - Last Post: 24 May 2009 - 12:17 AM Rate Topic: -----

#1 sakhr_99  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 42
  • Joined: 01-March 09

Save Value (selected in repeater )to DB on Submit in Single Click

Post icon  Posted 24 May 2009 - 12:17 AM

Good day guys

am trying to save values selected in repeater ( DropDownlist ) in a Database by only single button Click.

i need general ideas please


this is my attempt so far


Btn_save

dim rpt as repeater = DirectCast (page.findcontrol ("rptlist") ,repeater )
if rpt isnot nothing then

  dim item as repeateritem
	with rpt 
				  for each item in repeateritem
					
					dim dropList as dropdownlist = directCast (.findControl("dropList"),dropdownlist)
   
					
				  next
	end with
end if 

end sub




please help me out
[size=4]

Is This A Good Question/Topic? 0
  • +

Page 1 of 1