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

Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

2 Answers  


How do you handle server controls?

0 Answers   Cap Gemini,


What is session in http request?

0 Answers  


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

2 Answers  


what is SAP fullform

161 Answers   A3Logics, Amazon, DFD, Federal Mogul, Hol Info, IBM, Infosys, Jai Ganesh, Kesri Metal, Lupin, Microsoft, RPG, SAP Labs, SRS Group, TCS, Videocon,


what do you mean software devlopment ?

9 Answers   HCL,


Can the validation be done in the server side? Or this can be done only in the Client side?

2 Answers  


How to refresh a page in asp.net

4 Answers  


Hi, I Dont know about Application and Session State management. Can anyone explain me with simple example?

1 Answers  


How many Garbage Collectors are there for one Application or one Page

1 Answers   Emphasis,


What is Web API Routing?

0 Answers  


Where session id is stored?

0 Answers  


Categories