Hi,

I have database in mssql 2008.
In that, I want to fetch Column names from table in array.

Is it posible?

Please give me some suggestion.

Thanks in advance.

Jack

Yes, it's possible.

However, you don't give enough information to allow for suggestions. How are you accessing your table? Are you just writing a query in SSMS? Are you writing a program and using some sort of object library like ADO? Or a bound data control? Are you coding to an API like ODBC or OLEDB? Writing in C? And so on.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.