VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
How to add sql server table into dot net web page (Gridview)
1. How to add SQL Server table into a Gridview
1. Drag and Drop Gridviewfromtoolbox intoyourwebform
2. Clickon Gridview’s TasksButton.Select‘NewDataSource’fromChoose Data Source Drop
DownWindow (Shownbelow)
3. Choose SQLDatabase (Incase,if you wantto connectto an MS AccessDatabase,then
choose AccessDatabase.Andrestof the stepsare same as describedbelow)
4. Clickon ‘NewConnection’ Button
5. SystempromptsforServerName andotherdetails.EnterSQLServername or itsIP address
to whichyouwant to connectinthe ServerName Field. Choose ‘Use SQLServer
Authentication’ RadioButton. EnteryourSQLServer’scredentials(UserName and
Password)
6. Choose your ‘SQL ServerDatabase’ fromthe dropdownmenu.
2. 7. You can check the connectiontoSQL Server byclickingon‘TestConnection’. If the
connectionissuccessful,then,clickon‘OK’Button. Click Next Next Buttons
8. Choose ‘SpecifyColumnFromaTable or View’RadioButton.Choose desiredSQLServer
Table as shown below. Ithiscase,I have chosenmytable by name ‘Captcha’.
9. Clickon ‘Next’Button
10. You can alsoclickon ‘TestQuery’Buttonto displaydatain the window
11. Clickon ‘Finish’Button
You are successfully,addedaGridview toyourwebpage whichisconnectedtoanSQL Serverto
displaydataof a particulartable.
=== 0 ===