How we can bind textbox,listbox and datagrid to sql server
database in asp.net using visualstudio.net language (vb.net)?
Answers were Sorted based on User's Feedback
Answer / ninad
TextBox1.Text=Dataset.Tables(0).Rows(0).Columns(0);
Textbox1.DataBind();
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kulal
hai..,
use a textbox and a dataset for fetching data from the
database,and bind to the textbox
textbox1.text = dataset.Tables(0).Rows(0).Item(1)
textbox1.databind
Is This Answer Correct ? | 17 Yes | 25 No |
Explain cookies with example.
What is difference between datalist and gridview?
Explain the main function of razor in asp.net? : asp.net mvc
Differentiate session and cookie
How many types of session state management options available in asp.net?
You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.
2 Answers Microsoft, Syntax Softtech,
How to disable validator control by client side JavaScript?
Explain the life cycle of an ASP .NET page.
Explain http handlers? Where we can use the http handlers?
Explain difference between friend and protected friend?
What are clr?cts?cls?
4 Answers e4e, HCL, Microsoft, Tata Communications,
Difference between dynamic query and static query ?