Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
hi i have just started learning ASP.Net.. i'm try to using dropdown list in if condition it gives error message as [B]"Cannot implicitly convert type 'string' to 'bool'"[/B] [code=asp.net] if (DropDownList1.SelectedItem.Text="buyername" ) { da = new SqlDataAdapter("select * from buyermaster where buyername like '" + a + "%'", con); da.Fill(ds); … |