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
Attachments
test.rxsnp
(505.98 KiB) Downloaded 152 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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
.
Image