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 get the table names via c sharp and column names also?
write a Program to copy the string using switch case.
c# code to Count number of 1's in a given range of integer (0 to n)
Create a class called Accounts which has data members like ACCOUNT no, Customer name, Account type, Transaction type (d/w), amount, balance D->Deposit W->Withdrawal If transaction type is deposit call the credit(int amount) and update balance in this method. If transaction type is withdraw call debit(int amt) and update balance. Pass the other information like Account no,name,Account Type through constructor. Call the show data method to display the values.
Code for IP Address Comparison and Conversion in C#?
Code for Reading and writing from a file?
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..)
how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)
program for addition of fraction(M/N + P/Q = Y/Z)
IS Array list is generic or non generic
Give the code for Handling Mouse Events?
how can i split sting in textbox in windows application using c# .net