•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 422,940 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,571 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 22709 | Replies: 6
Hi I have a dataset which acts as a datasource to my datagrid. It just shows all the columns from a table. One of the columns is an image column. How do i show these icons\pictures on the grid?
My code looks like this:
dim cmd as sqlcommand
dim da as sqldataadapter
dim ds as new dataset
cmd.commandtext = "select * from tbl_auths"
cmd.connection = cn
'assuming connection (cn) to be open
da = New SqlDataAdapter(cmd)
da.Fill(ds,"tbl_auths")
dgrauth.datasource = ds.tables("tbl_auths")
My code looks like this:
dim cmd as sqlcommand
dim da as sqldataadapter
dim ds as new dataset
cmd.commandtext = "select * from tbl_auths"
cmd.connection = cn
'assuming connection (cn) to be open
da = New SqlDataAdapter(cmd)
da.Fill(ds,"tbl_auths")
dgrauth.datasource = ds.tables("tbl_auths")
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Detect Nav Appname and display appropriate icon (JavaScript / DHTML / AJAX)
- DataGrid with Images (ASP.NET)
- Displaying datagrid on second form (VB.NET)
Other Threads in the VB.NET Forum
- Previous Thread: code for selectedIndexChanged event
- Next Thread: Error While Declaring Crytal Report Object



Threaded Mode