To search the data from database using asp.net(C#)

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 48540 Views - Last Post: 18 March 2011 - 07:06 PM Rate Topic: ****- 1 Votes

#16 keakTheGEEK  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 107
  • View blog
  • Posts: 344
  • Joined: 23-February 10

Re: To search the data from database using asp.net(C#)

Posted 18 March 2011 - 07:06 PM

splitItems is a variable of type string array which each element contains a substring from your delimited string in your text field. Example:
string [] splitItems = "java, c, .net, c++".split(new char [] {","});
//now array splitItems[0] will contain the substring "java" and so on and so forth

String.Split Method

You have basically everything you need in this thread to accomplish what you asked...
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2