Inserting values?
-
Hi to all, I have a mail table with the fields like id,to,receiver,subject,description,date etc.. when i fill the to field with multiple receipient seperated by comma, i want to store datas in the table for all members. How it is possible?
-
Hi to all, I have a mail table with the fields like id,to,receiver,subject,description,date etc.. when i fill the to field with multiple receipient seperated by comma, i want to store datas in the table for all members. How it is possible?
Karthick_gc wrote:
multiple receipient seperated by comma, i want to store datas in the table for all members.
What do you mean by that? Please explain in detail.
Navaneeth How to use google | Ask smart questions
-
Karthick_gc wrote:
multiple receipient seperated by comma, i want to store datas in the table for all members.
What do you mean by that? Please explain in detail.
Navaneeth How to use google | Ask smart questions
Suppose if i give 5 names in to field seperated by commas, i want to insert the data for those 5 names seperately.
-
Suppose if i give 5 names in to field seperated by commas, i want to insert the data for those 5 names seperately.
Split the values into a string array(
String.Split()
), loop through it and insert one by one.Navaneeth How to use google | Ask smart questions
-
Suppose if i give 5 names in to field seperated by commas, i want to insert the data for those 5 names seperately.
1.create an array string[] names = {"a", "b", "c", "d"}; 2. loop through all values foreach (string name in names) { //do what ever you want to do with a single values. }
Prince Team Lead Quest Solutions www.imaginethinkact.com