Which of the following code segments would you use to add data to a field that has URL data type?

Question:Which of the following code segments would you use to add data to a field that has URL data type?

1.SPList m_list = m_web.Lists["Test"]; SPListItemCollection l_items = m_list.Items; SPListItem l_newItem = l_items.Add(); l_newItem["URL"] = "

2.SPList m_list = m_web.Lists["Test"]; SPListItemCollection l_items = m_list.Items; SPListItem l_newItem = l_items.Add(); l_newItem["URL"] =

3.SPList m_list = m_web.Lists["Test"]; SPListItemCollection l_items = m_list.Items; SPListItem l_newItem = l_items.Add(); l_newItem["URL"] =

4.SPList m_list = m_web.Lists["Test"]; SPListItemCollection l_items = m_list.Items; SPListItem l_newItem = l_items.Add(); l_newItem["URL"] = "


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!