how to get the table names via c sharp and column names
also?
Answers were Sorted based on User's Feedback
Answer / ganesh
i dont know the answer pls send it to me..........
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / krishna
create a data reader object and call the method GetName(n)
where n is the index no of the column name.In this way u can
get the name of the column and place it in a label.
Eg: Label1.Text=datareader_obj.GetName(0);
the above code will give you the name of the first colunmn.
| Is This Answer Correct ? | 1 Yes | 4 No |
How to find No of classes,Packages,No of Methods per Classes and Depth of Inheritance for selecting source code in windows form application using c# .net? (Source code is input Program. It may be Java or .net) Please help me..) Thanks..)
Give the code for Handling Mouse Events?
Write a program which has a function and that function should take 2 or 3 or any number of strings and it should return the largest common prefix of all those strings. If there is no common prefix it should return an empty string. for eg:- INPUT OUTPUT glo {glory,glorious,glod} gl {glad,glow} {calendar,phone} empty string
Write a program. there are 1..n numbers placed in an array in random fashion with one integer missing. find the missing number.
c# code to Count number of 1's in a given range of integer (0 to n)
how to get the table names via c sharp and column names also?
program for string reverse(eg:- i am boy -> boy am i)
8 Answers Black Pepper, Infosys, Mind Tree,
program to reverse the order of digits in a given number of any length.
How to use ASP.NET 2.0's TreeView to Display Hierarchical Data?
. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
Can you declare an array of mixed Types?
Code for IP Address Comparison and Conversion in C#?