Click here to Skip to main content
15,888,317 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
SPWeb web = SPContext.Current.Web;
            SPList list = web.Lists["MyList"];
            SPListItem item = list.Items[0];

            item["Title"] = TextBox_Name.Text;

            item.SystemUpdate(false);
            list.Update(); 


i have writted following code , that takes column on place 0 and replace in with the value i write in the first textboxes the next step is to do it with 5 textboxes more , can somebody help me =? i have tried with [1] and so one but i dont work, can somebody help me ?
Posted
Comments
Vikalp Kapadiya 12-Jan-13 2:12am    
Do you want to add textbox Data into ListItem[Title] Field ? or Different item from each textbox ?

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