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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rodick WuPosted May 27, 2009, 4:39 AM
Rodick WuPosted May 27, 2009, 5:19 AM
Rodick WuPosted May 27, 2009, 5:05 AM
string str="a,b,c,d";
List
for(int i=0;i
list.Add(str.split(',')[i]);
}
gridView1.DataSource=list;
gridView1.DataBind();
amarnath chPosted May 27, 2009, 4:47 AM