Dim arrDetails() As String = Nothing
arrDetails = "CITY: Mumbai Thane, Locality: Bhaskar Colony, Chandanwadi, State: Maharashtra"
我想這個字符串分割爲如何在asp.net中拆分字符串?
CITY:Mumbai Thane
Locality:Bhaskar Colony, Chandanwadi
State:Maharashtra
並將其插入到數據庫 - 這些值(列市,地區,州)。
我該怎麼做?
謝謝
表格的同一行中是否有多個值。意味着你想插入「Bhaskar Colony,Chandanwadi」單行嗎? –