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 #72.7K
Re:
here the code i've try....but still not working....please help me.. <page_load> id = 6 dbconn = [COLOR=#0000ff]New[/COLOR] SqlClient.SqlConnection("workstation id=HOME-5F227C8500;packet size=4096;user id=sa;initial catalog=pubs;persist security info=False") dbconn.Open() sql = "select * from NEWS Where NewsID='" & id & "'" dbcomm = [COLOR=#0000ff]New[/COLOR] SqlClient.SqlCommand(sql, dbconn) [COLOR=#0000ff]Try [/COLOR]dbread = dbcomm.ExecuteReader(CommandBehavior.CloseConnection) [COLOR=#0000ff]While[/COLOR] dbread.Read() lbl1.Text = … |