Click here to Skip to main content
15,917,702 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SqlDataSource1.UpdateParameters("A_Name").DefaultValue = categoryName.Text
        SqlDataSource1.UpdateParameters("Description").DefaultValue = description.Text
        SqlDataSource1.Update()
        DataList1.EditItemIndex = -1
        DataList1.DataBind()


what can i used in oledb in place of sql in the above code.what changes is needed in this code ?
Posted
Updated 23-Sep-11 0:32am
v2
Comments
Rajesh Anuhya 23-Sep-11 6:32am    
Your Question is not clear..
Slacker007 23-Sep-11 6:43am    
FYI: You can also report this question as incomplete or unclear by clicking on the red flag.

1 solution

Your question is not clear, but i thing you want code like this.

OledbDataSource1.UpdateParameters("A_Name").DefaultValue = categoryName.Text
OledbDataSource1.UpdateParameters("Description").DefaultValue = description.Text
        OledbDataSource1.Update()
        DataList1.EditItemIndex = -1
        DataList1.DataBind()



if you have any other query plz reply.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900