Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

I have a situation where i have to find the location of the datarow of which i have the name in string variable

 

strVariable="drRowChanged"

 

I wanted to know whether it is possible to get the IntPtr of the object and then try to cast it to datarow object on the fly.

 

There is no other i can manage to do it. It's a client restriction. Struck at this point i dont understand how do i get the IntPtr of the object

 

Please help me

 

Regards

Yashasvi

Posted

DataRow

 

Hi,

 

I have a table where in call for a function is stored.

 

GetName(drRowChanged)

 

This i will getit as a string.

 

in variable as follows

 

strVariable = "GetName(drRowChanged)"

 

Since i know the object i can call the function by name using CallByName function in Microsoft.VisualBasic Namespace. drRowChanged is defined some where in the form of which i don't have the reference. I need to get the object drRowChanged. Only thing i know is the name of the object.

 

I hope i was too short in description earlier.

 

Regards

Yashasvi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...