Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Reading DataRow Value
Message
From
01/10/2008 16:54:20
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352048
Message ID:
01352124
Views:
28
>
>txtAuthor.Text = (string)oDataSet.Tables[0].Rows[0]["Author"] ?? "";
>
>
>This does not compile.

try this:
            this.txtAuthor.Text = ds.Tables[0].Rows[0]["Author"].ToString() ?? "";
Previous
Reply
Map
View

Click here to load this message in the networking platform