Hi,
In my database i have a data with comma as a seperator,
how can i display the data into gridview seperately using comma as a seperator.
Can any one help me
Hi,
In my database i have a data with comma as a seperator,
how can i display the data into gridview seperately using comma as a seperator.
Can any one help me
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rodick Wu118 reputationPosted May 27, 2009, 12:39 AM EDT
amarnath ch3 reputationPosted May 27, 2009, 12:47 AM EDT
Rodick Wu118 reputationPosted May 27, 2009, 1:05 AM EDT
string str="a,b,c,d";
List
for(int i=0;i
list.Add(str.split(',')[i]);
}
gridView1.DataSource=list;
gridView1.DataBind();
Rodick Wu118 reputationPosted May 27, 2009, 1:19 AM EDT