Skip to content

Add Control in Dataset in vb.net

rachayita jaiswal

Asked Oct 3, 2013, 2:01 AM EDT2 answers
Share
LinkedInX
Hi,

can i call control in dataset?

this is my control - 

Panel1.Controls.Add(image)   //   i am getting some value here

and this is my dataset - 

dsSummary.Tables("ObjectSummary").Rows.Add(--------want to call here that control---------------)

I want help..............

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    No.
    You will get invalid type error.

    dsSummary.Tables("ObjectSummary").Rows.Add(). Here you can add a datarow and not a CONTROL.
    Panel1.Controls.Add(image) // It accepts the UI Controls here.

    0
  • 0
    Hi, thanks for reply.

    Yes i am getting error but that only i want to ask you that how i can use this?is there any other way to use.
    0