html - Background-color have a strange behavior -


मेरे पास एक टेबल है:

  & lt; टेबल id = "TableCorpsDetails" runat = " सर्वर "सेलपैडिंग =" 20 "बीजी रंगोर =" & lt;% = BgColor% & gt; " सीमा = "1" संरेखित करें = "केंद्र" चौड़ाई = "50%" & gt;  

और मेरे vb कोड में, मैं एक नीला रंग (जिसमें से एक एसक्यूएल अनुरोध) बाँध:

  BgColor = myDS.Tables (0) .Rows (0) एटम ("क्युएलर")। टॉस्ट्रिंग  

और जब मैं उस कोड को निष्पादित करता हूं तो पृष्ठभूमि का रंग ग्रीन होता है और मुझे नहीं पता कि क्यों ... मैंने नहीं किया इससे पहले कि मैं runat = "server" संपत्ति को जोड़ने से पहले यह व्यवहार करता हूं मैंने Bgcolor पैरामीटर को निकालने और केवल वीबी कोड के साथ काम करके इस समस्या को तय किया है:

  टेबलकॉप्स विवरण। स्टाइल। जोड़ें ("पृष्ठभूमि-रंग", एटम ("युपल     पर  runat = "server"  प्रभाव क्यों   


Comments

Popular posts from this blog

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -