How to get the param value?

Ask general questions here.
jwei
Posts: 8
Joined: Fri Nov 09, 2012 7:34 pm

How to get the param value?

Post by jwei » Tue Jan 08, 2013 2:20 am

Hello,

I have a HTML table, and I want to compare the param value before selecting the table row. I use C# for coding, but I cannot find param attribute. How can I get the param value? Snapshot is attached.

Thanks,
Jenny
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to get the param value?

Post by Support Team » Tue Jan 08, 2013 2:19 pm

Hello,

Thank you for the snapshot file.
You can try to use the method GetAttributeValue() to get the value of the param attribute.
var paramRepoItem = repo.PathToYourItem;
string paramValue = paramRepoItem.Element.GetAttributeValue("param").ToString();
If this is not the value you want to compare please explain which param value do you exactly mean, the values of the Name column and/or of the Description column?
Could you send us another snapshot of the entire table? This will help us to analyze the issue in detail.
Thanks in advance!

Regards,
Markus