Click here to Skip to main content
15,889,096 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionReference a .NET 3.5 assembly form a .NET 2.0 other assembly: in VS2008 ok, not in VS2010 Pin
Ferdinando Santacroce29-Apr-10 3:22
Ferdinando Santacroce29-Apr-10 3:22 
AnswerRe: Reference a .NET 3.5 assembly form a .NET 2.0 other assembly: in VS2008 ok, not in VS2010 Pin
Not Active29-Apr-10 3:35
mentorNot Active29-Apr-10 3:35 
GeneralRe: Reference a .NET 3.5 assembly form a .NET 2.0 other assembly: in VS2008 ok, not in VS2010 Pin
Luc Pattyn29-Apr-10 4:18
sitebuilderLuc Pattyn29-Apr-10 4:18 
AnswerRe: Reference a .NET 3.5 assembly form a .NET 2.0 other assembly: in VS2008 ok, not in VS2010 Pin
Ferdinando Santacroce29-Apr-10 5:54
Ferdinando Santacroce29-Apr-10 5:54 
QuestionAny Problem with VS 2010 Ultimate? if VS 2008 already exists.. Pin
yadlaprasad29-Apr-10 1:26
yadlaprasad29-Apr-10 1:26 
AnswerRe: Any Problem with VS 2010 Ultimate? if VS 2008 already exists.. Pin
Michel Godfroid29-Apr-10 1:47
Michel Godfroid29-Apr-10 1:47 
AnswerRe: Any Problem with VS 2010 Ultimate? if VS 2008 already exists.. Pin
Not Active29-Apr-10 1:56
mentorNot Active29-Apr-10 1:56 
QuestionSetting DisplayMember & ValueMember with DataTable Pin
massaslayer28-Apr-10 10:21
massaslayer28-Apr-10 10:21 
Public Sub s_zoekEntiteit(ByVal i_entiteit As String)

        Dim sqlStr As String = "zoekEntiteit '" & i_entiteit & "'"
        Dim dataAdapter = New SqlDataAdapter(sqlStr, m_constring)
        Dim commandBuilder As New SqlCommandBuilder(dataAdapter)
        Dim DataGridTable As New DataTable()

        dataAdapter.Fill(DataGridTable)
        
        Form5.ListBox1.DataSource = DataGridTable
        Form5.ListBox1.DisplayMember = i_entiteit
        Form5.ListBox1.ValueMember = i_entiteit
   
    End Sub


The Stored Procedure:

CREATE PROCEDURE zoekEntiteit (@tmpEntiteit nvarchar(40))AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;


	SELECT @tmpEntiteit FROM tblProduct;
        --'ByVal i_prodid As String, ByVal i_prodnaam As String, ByVal i_prodomschrijving As String, 
        --'ByVal i_prodprijs As Int16, ByVal i_prodinstock As String)
END


The RESULT if @tmpEntiteit would be ProdID :
Image to Result

What is wrong here I keep getting an error on ' Form5.ListBox1.ValueMember = i_entiteit' the following error : Can't bind to the new DisplayMember. Paramater newDisplayMember
AnswerRe: Setting DisplayMember & ValueMember with DataTable Pin
Ashfield29-Apr-10 3:39
Ashfield29-Apr-10 3:39 
Questionlinking two tables Pin
kolisa28-Apr-10 1:29
kolisa28-Apr-10 1:29 
AnswerRe: linking two tables Pin
Dave Kreskowiak28-Apr-10 2:17
mveDave Kreskowiak28-Apr-10 2:17 
AnswerRe: linking two tables Pin
Abhinav S28-Apr-10 5:51
Abhinav S28-Apr-10 5:51 
AnswerRe: linking two tables Pin
GauravKP28-Apr-10 9:36
professionalGauravKP28-Apr-10 9:36 
AnswerRe: linking two tables Pin
Peace ON29-Apr-10 1:12
Peace ON29-Apr-10 1:12 
Questionmac number of client system Pin
Gayathri devi sivanesan27-Apr-10 23:24
Gayathri devi sivanesan27-Apr-10 23:24 
AnswerRe: mac number of client system Pin
Michel Godfroid27-Apr-10 23:58
Michel Godfroid27-Apr-10 23:58 
GeneralRe: mac number of client system Pin
Gayathri devi sivanesan28-Apr-10 0:32
Gayathri devi sivanesan28-Apr-10 0:32 
GeneralRe: mac number of client system Pin
Michel Godfroid28-Apr-10 1:32
Michel Godfroid28-Apr-10 1:32 
GeneralRe: mac number of client system Pin
Pete O'Hanlon28-Apr-10 1:38
mvePete O'Hanlon28-Apr-10 1:38 
GeneralRe: mac number of client system Pin
PIEBALDconsult28-Apr-10 3:56
mvePIEBALDconsult28-Apr-10 3:56 
GeneralRe: mac number of client system Pin
Dave Kreskowiak28-Apr-10 2:14
mveDave Kreskowiak28-Apr-10 2:14 
GeneralRe: mac number of client system Pin
PIEBALDconsult28-Apr-10 4:50
mvePIEBALDconsult28-Apr-10 4:50 
GeneralRe: mac number of client system Pin
Dave Kreskowiak28-Apr-10 5:22
mveDave Kreskowiak28-Apr-10 5:22 
GeneralRe: mac number of client system Pin
PIEBALDconsult28-Apr-10 6:41
mvePIEBALDconsult28-Apr-10 6:41 
GeneralRe: mac number of client system Pin
Dave Kreskowiak28-Apr-10 8:28
mveDave Kreskowiak28-Apr-10 8:28 

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

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