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

what is the relation between delegates and events

4 Answers   IBM, iNautix,


What is the default authentication mode for asp.net?

0 Answers  


Describe the two main components of the .NET framework ?

2 Answers  


what are the server controls used in sitepath navigation?

1 Answers  


What are type/key pairs in client script registration?

0 Answers  






What are the advantages of using session?

0 Answers  


web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.

2 Answers   TCS,


You have been given the task of designing a web services to expose the data that is stored in a database on the server. In order to successfully build the web services, you need to import some namespaces. What is the minimum namespace you need to import? a) System.Web b) System.WebServices c) System.Web.Services d) System.Web.ServiceModel

2 Answers   Syntax Softtech,


4. How do you plan to achieve these goals?

7 Answers   Burger King, Latest, Swatz Oils,


what is the assembly?

2 Answers  


How can we create pie chart in asp.net?

0 Answers  


What's the advantage of using System.Text.StringBuilder over System.String?

3 Answers   IBM, IdeaLake, Infosys,


Categories