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 |
program for addition of fraction(M/N + P/Q = Y/Z)
how can i split sting in textbox in windows application using c# .net
write a Program to copy the string using switch case.
Automatically Hyperlink URLs and E-Mail Addresses in ASP.NET Pages with C#
How to add a value from textBox over an existing certain column in SQL Server
program to reverse the order of words in a string.
How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?
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.
Can you declare an array of mixed Types?
program to check if a number is "perfect number".
program for string reverse(eg:- i am boy -> boy am i)
8 Answers Black Pepper, Infosys, Mind Tree,
how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)