class= " lineNumbers " do
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
|
class= do
o class= " do id= " codeSnippet845693 do protected Swatches_ItemCommand vago (remetente do objeto, DataListCommandEventArgs e)
{
se (o == de e.CommandName “seleciona”)
{
peça da corda = e.CommandArgument.ToString ();
foreach (parentItem de DataListItem em thumbRotatoralt.Items)
{
Etiquetar o lblPart = (etiqueta) parentItem.FindControl (“lblPart”);
Etiquetar o lblproductcode = (etiqueta) parentItem.FindControl (“lblproductcode”);
se (peça do == de lblPart.Text)
{
Imagem img1 = (imagem) parentItem.FindControl (“img1”);
Etiquetar o lblPrice = (etiqueta) parentItem.FindControl (“lblPrice”);
DataTable DTColourFetch = DataTable novo ();
DTColourFetch = LoadColourInfo (parte, ColourCode, “GetAllColorSwatchesWithMin”);
se (DTColourFetch.Rows.Count > 0)
{
amarrar Image1 = DTColourFetch.Rows [0] [“Imagename”] .ToString ();
lblPrice.Text = FormatePrice (preço, presaleprice);
img1.ImageUrl = FormatImageURL (Image1);
pnames = lblname da corda. Texto;
amarrar ProductName = pnames + ““+ getfirstcolourname;
lblname. Texto = ProductName.Trim ();
}
}
}
}
}
class= " ItemListInnerstyle " do
colspan= " 2 " do
Javascript " do href= " de " relateditemdescr2pbuttons " do cssclass= de " ItemListlinkUnderline do class= do ”, “<%=ALTCatID %>")) “>
|
Javascript " do href= " de " relateditemdescr2pbuttons " do cssclass= de " ItemListlinkUnderline do class= do ”, “<%=ALTCatID %>")) “>
'/>
" contínuo "
" contínuo "
|
Javascript " do href= " de " relateditemdescr2pbuttons " do cssclass= de " ItemListlinkUnderline do class= do ”, “<%=ALTCatID %>")) “>
Mais detalhes
|
|