Click here to Skip to main content
       

Visual Basic

 
QuestionHelp with Error Message PinmemberGeorgieMPorgie5-Nov-12 4:32 
AnswerRe: Help with Error Message PinmentorWayne Gaylard5-Nov-12 5:05 
GeneralRe: Help with Error Message PinmemberGeorgieMPorgie5-Nov-12 6:03 
GeneralRe: Help with Error Message PinmentorWayne Gaylard5-Nov-12 19:31 
QuestionUse Reportvier to Show Table with Unknown Number of Columns PinmemberMember 76634803-Nov-12 16:03 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns PinmvpDave Kreskowiak4-Nov-12 5:25 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns PinmemberMycroft Holmes4-Nov-12 12:54 
QuestionHow can i retrieve image to pictureBox ? Pinmemberheinhtataung1-Nov-12 19:04 
I'm using Stored Procedure,3 tier and VB.net. Smile | :)
Now, i click the gridview and then want to show the data in textboxes and pictureBox to update the informations. Roll eyes | :rolleyes: Java | [Coffee]
The problem is that , how can i retrieve photo to picture box???Confused | :confused: Dead | X| D'Oh! | :doh: Mad | :mad: Cry | :((
 
Here is my code Hmmm | :|
 
  Private Sub gdCompany_CellClick(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles gdCompany.CellClick
        btnSave.Text = "ျပင္ရန္"
        txtCompanyName.Text = gdCompany.CurrentRow.Cells(1).Value.ToString()
        txtDescription.Text = gdCompany.CurrentRow.Cells(2).Value.ToString()
        txtPhoneNo.Text = gdCompany.CurrentRow.Cells(3).Value.ToString()
        txtFaxNo.Text = gdCompany.CurrentRow.Cells(4).Value.ToString()
        txtEmail.Text = gdCompany.CurrentRow.Cells(5).Value.ToString()
        txtWebsite.Text = gdCompany.CurrentRow.Cells(6).Value.ToString()
        ddlBankName.SelectedValue = Convert.ToInt32(gdCompany.CurrentRow.Cells(7).Value.ToString())
        ddlBankBranch.SelectedValue = Convert.ToInt32(gdCompany.CurrentRow.Cells(8).Value.ToString())
        txtBankAccountNo.Text = gdCompany.CurrentRow.Cells(9).Value.ToString()
        txtAddress.Text = gdCompany.CurrentRow.Cells(10).Value.ToString()
 
        'picCompanyLogo.Image = Convert.ToByte(gdCompany.CurrentRow.Cells(15).Value.ToString())
       
 
      
        txtCompanyName.Focus()
    End Sub

AnswerRe: How can i retrieve image to pictureBox ? PinmemberEddy Vluggen2-Nov-12 1:57 
AnswerRe: How can i retrieve image to pictureBox ? PinmemberSZLMCL7-Nov-12 0:20 
QuestionHow can i save image in my N-tier application? Pinmemberheinhtataung31-Oct-12 21:20 
AnswerRe: How can i save image in my N-tier application? PinmemberEddy Vluggen1-Nov-12 4:05 
QuestionAI program PinmemberCasey Edison31-Oct-12 6:04 
AnswerRe: AI program PinmemberSimon_Whale31-Oct-12 6:08 
GeneralRe: AI program PinmemberCasey Edison31-Oct-12 6:13 
AnswerRe: AI program PinmvpRichard MacCutchan31-Oct-12 8:59 
GeneralRe: AI program PinmemberCasey Edison31-Oct-12 13:26 
GeneralRe: AI program PinmvpRichard MacCutchan1-Nov-12 0:18 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 1:42 
GeneralRe: AI program PinmvpRichard MacCutchan1-Nov-12 3:06 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 9:14 
GeneralRe: AI program PinmvpRichard MacCutchan1-Nov-12 9:19 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 13:40 
GeneralRe: AI program PinmvpRichard MacCutchan1-Nov-12 15:55 
GeneralRe: AI program PinmemberCasey Edison1-Nov-12 9:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 19 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid