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



How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio...

Answer / ninad

TextBox1.Text=Dataset.Tables(0).Rows(0).Columns(0);
Textbox1.DataBind();

Is This Answer Correct ?    1 Yes 0 No

How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio...

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

Post New Answer

More ASP.NET Interview Questions

how to create bin folder in asp.net2.0

8 Answers  


What does the "EnableViewState" property do? Why would I want it on or off?

3 Answers  


What symbol specifies the beginning of a query string?

0 Answers  


What is the biggest disadvantage of “Other Return Types” in Web API?

0 Answers  


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

0 Answers  






To display data in a Repeater control which template you provide?

0 Answers   Siebel,


What is preprocessor in .net and type, where it use?

0 Answers  


What is difference between session and cookies?

0 Answers  


List the types of authentication supported by asp.net?

0 Answers  


How does Garbage collector(GC) works in .net

14 Answers   Accenture, HCL, Kekran Mekran, People Tech, Wipro,


Explain the life cycle of an ASP .NET page

2 Answers   HCL, Surya Software,


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


Categories