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 Create Files by Using the FileInfo Class?
Coding for Manipulate XML File Data Using C#?
how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)
program to reverse the order of digits in a given number of any length.
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik
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
how do i copy textbox contents of 1 form to another form
Code for Reading and writing from a file?
How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?
Write a function which accepts list of nouns as input parameter and return the same list in the plural form. Conditions: i) if last letter is r then append s ii) if word ends with y then replace it by ies iii) call this function in main() and produce the required output. for eg:- if chair is input it should give chairs as output.
working with arrays
how can i split sting in textbox in windows application using c# .net