yraykar Posted December 27, 2004 Posted December 27, 2004 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 Quote
yraykar Posted December 27, 2004 Author Posted December 27, 2004 Please let me know if i am not putting it the way i should. Regards Yashasvi Quote
Administrators PlausiblyDamp Posted December 27, 2004 Administrators Posted December 27, 2004 Not too sure what you mean by the datarow of which I have the name. Would it be possible to post the code you have and indicate what you are trying to do? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
yraykar Posted December 27, 2004 Author Posted December 27, 2004 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.