HI IAM DEVELOPING APPLICATION DISPLAY IMAGE FROM DATABASE USING FIRST NEXT PREVIOUS LAST BUTTONS
I WRITEN THE CODE BUT BUT IT WORKS PROPERLY FOR FIRST NEXT BUTTONS
ITS NOT WORKING WITH PREVIOUS NEXT BUTTONS HERE IS MY CODE PLEASE HELP ME FRIENDS
Loading

Nitesh KejriwalRank #253 · 9.9K reputationPosted Sep 4, 2014, 5:00 AM EDT
chandu gummadi57 reputationPosted Sep 5, 2014, 12:48 AM EDT
here is my code please help me
Nitesh KejriwalRank #253 · 9.9K reputationPosted Sep 5, 2014, 4:55 AM EDT
chandu gummadi57 reputationPosted Sep 5, 2014, 4:57 AM EDT
chandu gummadi57 reputationPosted Sep 5, 2014, 4:57 AM EDT
Dim da As New SqlDataAdapter
Dim dt As New DataTable
da.SelectCommand = cmd
cmd.Connection = connection
da.Fill(dt)
If rno < dt.Rows.Count - 1 Then
rno += 1
If dt.Rows.Count > "0" Then
txtcustid.Text = dt.Rows(rno)(0).ToString()
txtcustname.Text = dt.Rows(rno)(1).ToString()
txtcustaddress.Text = dt.Rows(rno)(2).ToString()
If dt.Rows(rno)(3) IsNot Nothing Then
photo_aray = DirectCast(dt.Rows(rno)(3), Byte())
photo_aray = dt.Rows(rno)(3)
image1.ImageUrl = "data:image/png;base64," & Convert.ToBase64String(photo_aray) End If End If End If
chandu gummadi57 reputationPosted Sep 5, 2014, 5:03 AM EDT