473,909 Members | 5,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Set row color of a datagrid when more than one datagrid on a form

I am using visual studio 2005 to develop a form using c#

I have 3 datagrids on one form.

I can set the row color based on a certain value in a column. However this
color applies to all 3 datagrida. I would like to set it so that

if value of column 3 in datagrid 1 is < 100 set to red, if = 100 set to green
if value of column 3 in datagrid 2 is < 90 set to red, if >= 90 set to green
if value of column 3 in datagrid 3is < 80 set to red, if >= 80set to green

No matter how I write my code I cannot seem to get the coloring to apply to
just one datagrid

My code is below:

<%@ Page Language="C#" %>
<%@ Import Namespace="Syst em.Drawing" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<script runat="server">

protected void GridView1_Selec tedIndexChanged (object sender, EventArgs e)
{

}

protected void GridView1_RowDa taBound(object sender,
GridViewRowEven tArgs e)
{
if (e.Row.RowType == DataControlRowT ype.DataRow)
{
if (Decimal.Parse( e.Row.Cells[3].Text) < 100)
e.Row.Cells[3].BackColor = Color.IndianRed ;
else
e.Row.Cells[3].BackColor = Color.MediumSea Green;
}
}
protected void GridView3_RowDa taBound(object sender, GridViewRowEven tArgs e)
{
if (e.Row.RowType == DataControlRowT ype.DataRow)
{
if (Decimal.Parse( e.Row.Cells[3].Text) < 70)
e.Row.Cells[3].BackColor = Color.IndianRed ;
else
e.Row.Cells[3].BackColor = Color.MediumSea Green;
}

}
protected void Page_Load(objec t sender, EventArgs e)
{

}

protected void GridView2_Selec tedIndexChanged (object sender, EventArgs e)
{

}

</script>

<html><!-- InstanceBegin template="/Templates/supportstats.dw t"
codeOutsideHTML IsLocked="false " -->
<head>
<!-- InstanceBeginEd itable name="doctitle" -->
<title>HKS Medical Information Systems</title>
<!-- InstanceEndEdit able -->
<link rel="stylesheet " type="text/css" href="styles.cs s">
<script language="JavaS cript" src="common.js" type="text/JavaScript"></script>
<!-- InstanceBeginEd itable name="head" --><!-- InstanceEndEdit able --><!--
InstanceParam name="NavAboutU sON" type="boolean" value="false" --><!--
InstanceParam name="NavSoftwa reSolutionsON" type="boolean" value="false"
--><!-- InstanceParam name="NavServic esON" type="boolean" value="false"
--><!-- InstanceParam name="NavSuppor tON" type="boolean" value="false"
--><!-- InstanceParam name="NavNewsON " type="boolean" value="false" --><!--
InstanceParam name="NavContac tON" type="boolean" value="false" -->
<script language="JavaS cript">
function breadCrumbs(bas e,delStr,defp,c Style,tStyle,dS tyle,nl) { // by Paul
Davis - http://www.kaosweaver.com
loc=window.loca tion.toString() ;subs=loc.subst r(loc.indexOf(b ase)+base.lengt h+1).split("/");
document.write( '<a href="'+getLoc( subs.length-1)+defp+'"
class="'+cStyle +'">Home</a '+'<span class="'+dStyle +'">'+delStr+ '</span');
a=(loc.indexOf( defp)==-1)?1:2;for (i=0;i<(subs.le ngth-a);i++) {
subs[i]=makeCaps(unesc ape(subs[i]));
document.write( '<a href="'+getLoc( subs.length-i-2)+defp+'"
class="'+cStyle +'">'+subs[i]+'</a '+'<span
class="'+dStyle +'">'+delStr+ '</span');}
if (nl==1) document.write( "<br>");documen t.write('<span
class="'+tStyle +'">'+document. title+'</span>');
}
function makeCaps(a) {
g=a.split(' ');for (l=0;l<g.length ;l++)
g[l]=g[l].toUpperCase(). slice(0,1)+g[l].slice(1);
return g.join(" ");
}
function getLoc(c) {
var d="";if (c>0) for (k=0;k<c;k++) d=d+"../"; return d;
}
</script>
</head>

<body link="#6F96C6" alink="#6F96C6" vlink="#6F96C6" >

<table width="1000" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="224"><a href="http://www.hksys.com"> <img
src="images/hdr_logo.gif" alt="HKS Medical Information Systems" width="187"
height="79" border="0"></a></td>
<td width="776"><!-- InstanceBeginEd itable name="Header" --><img
src="images/hdr_home.jpg" alt="" height="79" style="width: 811px"><!--
InstanceEndEdit able --></td>
</tr>
</table>
<table width="1000" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td height="25" bgcolor="#6F96C 6"</td>
<td height="25" align="RIGHT" bgcolor="#6F96C 6"><table width="990"
height="23" border="0" cellpadding="0" cellspacing="0" >
<form action="search/search.pl" method="GET" name="SearchSit e">
<input type="hidden" name="p" value="1" /><input type="hidden"
name="lang" value="en" /><input type="hidden" name="include" value=""
/><input type="hidden" name="exclude" value="" /><input type="hidden"
name="penalty" value="0" /><input type="HIDDEN" name="mode" value="any">

</form>
</table></td>
</tr>
<tr>
<td height="8" colspan="2"><im g src="images/spacer.gif" width="1"
height="8"></td>
</tr>
</table>
<table width="996" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="1000" valign="TOP"><t able width="1000" border="0"
cellpadding="0" cellspacing="0" bgcolor="#A4A4A 5">
<tr>
<td height="1" colspan="3"><im g src="images/spacer.gif" width="1"
height="1"></td>
</tr>
<tr>

<td width="1000" bgcolor="#FFFFF F"><table width="100%" border="0"
cellpadding="0" cellspacing="0" >
<tr>
<td width="100%" bgcolor="#6F96C 6"><!-- InstanceBeginEd itable
name="PageTitle " --><span class="pageTitl e">Support SLA
Compliance </span><!-- InstanceEndEdit able --></td>
</tr>
<tr>
<td><table width="1000" border="0" cellpadding="0"
cellspacing="0" >
<tr>

<td width="1000"><!-- InstanceBeginEd itable
name="PageConte nt" -->
<form id="form1" runat="server">
<div>
<h1>
HKS Support Statistics</h1>
<p>
Click Links for more detail,
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink1 " runat="server"
NavigateUrl="~/priority1-main.aspx">Prio rity 1 </asp:HyperLink>
Issues Last Updated:</span>
</p>
<p>
<asp:HyperLin k ID="HyperLink4 " runat="server"
NavigateUrl="~/priority1-graph.aspx"
Target="_blank" >Graph</asp:HyperLink</p>
<p>
<asp:SqlDataSou rce ID="SqlDataSour ce1" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
Number_of_ticke ts_opened, Number_of_ticke ts_closed_withi n_24hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority1 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority1 AS Priority1_1))

"></asp:SqlDataSour ce>
<asp:GridView ID="GridView1" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource1" Font-Names="Arial"
ForeColor="#333 333" GridLines="None "
OnSelectedIndex Changed="GridVi ew1_SelectedInd exChanged" >
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld DataField="Numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "Number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_c losed_within_24 hrs" HeaderText="# of Issues
Resolved Within 24hrs"

SortExpression= "Number_of_tick ets_closed_with in_24hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed within
SLAS" HeaderText="% of Issues Resolved Within SLAs"
SortExpression= "% of Tickets Closed within SLAS" />
</Columns>
</asp:GridView>
</p>
<p>
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink2 " runat="server"
NavigateUrl="~/priority2-main.aspx">Prio rity 2</asp:HyperLinkIs sues Last
Updated:</span></p>
<p>
<span style="font-family: Arial"<asp:Hype rLink ID="HyperLink5 "
runat="server" NavigateUrl="~/priority2-graph.aspx"
Target="_blank" >Graph</asp:HyperLink>
<asp:SqlDataSou rce ID="SqlDataSour ce2" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
Number_of_ticke ts_opened, Number_of_ticke ts_closed_withi n_48hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority2 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority2 AS Priority2_1))
"></asp:SqlDataSour ce>
<asp:GridView ID="GridView2" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource2" ForeColor="#333 333"
GridLines="None " OnSelectedIndex Changed="GridVi ew2_SelectedInd exChanged">
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld DataField="Numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "Number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_c losed_within_48 hrs" HeaderText="# of Issues
Resolved Within 48hrs"

SortExpression= "Number_of_tick ets_closed_with in_48hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed
within SLAS" HeaderText="% of Issues Resolved Within SLAS"
SortExpression= "% of Tickets Closed within SLAS"
/>
</Columns>
</asp:GridView>
</span>
</p>
<p>
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink3 " runat="server"
NavigateUrl="~/priority3-main.aspx">Prio rity 3</asp:HyperLink>
Issues Last Updated:</span></p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink6 " runat="server"
NavigateUrl="~/priority3-graph.aspx"
Target="_blank" >Graph</asp:HyperLink></span</p>
<p>
<span style="font-family: Arial">
<asp:SqlDataSou rce ID="SqlDataSour ce3" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
number_of_ticke ts_opened, number_of_ticke ts_closed_withi n_120hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority3 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority3 AS Priority3_1))"> </asp:SqlDataSour ce>
<asp:GridView ID="GridView3" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource3" ForeColor="#333 333"
GridLines="None ">
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld DataField="numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="numb er_of_tickets_c losed_within_12 0hrs" HeaderText="# of Issues
Resolved Within 200hrs"

SortExpression= "number_of_tick ets_closed_with in_120hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed
within SLAS" HeaderText="% of Issues Resolved Within SLAs"
SortExpression= "% of Tickets Closed within SLAS"
/>
</Columns>
</asp:GridView>
</span>
</p>

</div>
</form>
<!-- InstanceEndEdit able --></td>

</tr>
</table></td>
</tr>
</table></td>
<td width="1"><img src="images/spacer.gif" width="1"
height="1"></td>
</tr>
<tr>
<td height="1" colspan="3"><im g src="images/spacer.gif" width="1"
height="1"></td>
</tr>
</table></td>
</tr>
</table>
<table width="1000" border="0" cellpadding="8" cellspacing="0" >
<tr>
<td width="1000" align="CENTER" class="footer"> © 2006 HKS Medical
Information
Systems | <a href="http://web1.hksys.com/sw/" target="_blank"
class="footerLi nk">User
Support</a| <a href="http://www.hksys.com/admin/" target="_blank"
class="footerLi nk">Client
Login</a| <a href="default.h tm" class="footerLi nk">Home</a></td>
</tr>
<tr>
<td bgcolor="#6F96C 6"><img src="images/spacer.gif" width="1" height="10"
alt=""></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>

Sep 26 '06 #1
2 3450
Mike,

Have you considered creating a subclass of the data grid and exposing a
property which has the threshold for the value in column three? It might
make things a little easier for you.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Mike Baugh" <Mi*******@disc ussions.microso ft.comwrote in message
news:3D******** *************** ***********@mic rosoft.com...
>I am using visual studio 2005 to develop a form using c#

I have 3 datagrids on one form.

I can set the row color based on a certain value in a column. However this
color applies to all 3 datagrida. I would like to set it so that

if value of column 3 in datagrid 1 is < 100 set to red, if = 100 set to
green
if value of column 3 in datagrid 2 is < 90 set to red, if >= 90 set to
green
if value of column 3 in datagrid 3is < 80 set to red, if >= 80set to green

No matter how I write my code I cannot seem to get the coloring to apply
to
just one datagrid

My code is below:

<%@ Page Language="C#" %>
<%@ Import Namespace="Syst em.Drawing" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<script runat="server">

protected void GridView1_Selec tedIndexChanged (object sender, EventArgs
e)
{

}

protected void GridView1_RowDa taBound(object sender,
GridViewRowEven tArgs e)
{
if (e.Row.RowType == DataControlRowT ype.DataRow)
{
if (Decimal.Parse( e.Row.Cells[3].Text) < 100)
e.Row.Cells[3].BackColor = Color.IndianRed ;
else
e.Row.Cells[3].BackColor = Color.MediumSea Green;
}
}
protected void GridView3_RowDa taBound(object sender, GridViewRowEven tArgs
e)
{
if (e.Row.RowType == DataControlRowT ype.DataRow)
{
if (Decimal.Parse( e.Row.Cells[3].Text) < 70)
e.Row.Cells[3].BackColor = Color.IndianRed ;
else
e.Row.Cells[3].BackColor = Color.MediumSea Green;
}

}
protected void Page_Load(objec t sender, EventArgs e)
{

}

protected void GridView2_Selec tedIndexChanged (object sender, EventArgs
e)
{

}

</script>

<html><!-- InstanceBegin template="/Templates/supportstats.dw t"
codeOutsideHTML IsLocked="false " -->
<head>
<!-- InstanceBeginEd itable name="doctitle" -->
<title>HKS Medical Information Systems</title>
<!-- InstanceEndEdit able -->
<link rel="stylesheet " type="text/css" href="styles.cs s">
<script language="JavaS cript" src="common.js"
type="text/JavaScript"></script>
<!-- InstanceBeginEd itable name="head" --><!-- InstanceEndEdit able --><!--
InstanceParam name="NavAboutU sON" type="boolean" value="false" --><!--
InstanceParam name="NavSoftwa reSolutionsON" type="boolean" value="false"
--><!-- InstanceParam name="NavServic esON" type="boolean" value="false"
--><!-- InstanceParam name="NavSuppor tON" type="boolean" value="false"
--><!-- InstanceParam name="NavNewsON " type="boolean"
value="false" --><!--
InstanceParam name="NavContac tON" type="boolean" value="false" -->
<script language="JavaS cript">
function breadCrumbs(bas e,delStr,defp,c Style,tStyle,dS tyle,nl) { // by
Paul
Davis - http://www.kaosweaver.com
loc=window.loca tion.toString() ;subs=loc.subst r(loc.indexOf(b ase)+base.lengt h+1).split("/");
document.write( '<a href="'+getLoc( subs.length-1)+defp+'"
class="'+cStyle +'">Home</a '+'<span class="'+dStyle +'">'+delStr+ '</span>
');
a=(loc.indexOf( defp)==-1)?1:2;for (i=0;i<(subs.le ngth-a);i++) {
subs[i]=makeCaps(unesc ape(subs[i]));
document.write( '<a href="'+getLoc( subs.length-i-2)+defp+'"
class="'+cStyle +'">'+subs[i]+'</a '+'<span
class="'+dStyle +'">'+delStr+ '</span');}
if (nl==1) document.write( "<br>");documen t.write('<span
class="'+tStyle +'">'+document. title+'</span>');
}
function makeCaps(a) {
g=a.split(' ');for (l=0;l<g.length ;l++)
g[l]=g[l].toUpperCase(). slice(0,1)+g[l].slice(1);
return g.join(" ");
}
function getLoc(c) {
var d="";if (c>0) for (k=0;k<c;k++) d=d+"../"; return d;
}
</script>
</head>

<body link="#6F96C6" alink="#6F96C6" vlink="#6F96C6" >

<table width="1000" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="224"><a href="http://www.hksys.com"> <img
src="images/hdr_logo.gif" alt="HKS Medical Information Systems"
width="187"
height="79" border="0"></a></td>
<td width="776"><!-- InstanceBeginEd itable name="Header" --><img
src="images/hdr_home.jpg" alt="" height="79" style="width: 811px"><!--
InstanceEndEdit able --></td>
</tr>
</table>
<table width="1000" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td height="25" bgcolor="#6F96C 6"</td>
<td height="25" align="RIGHT" bgcolor="#6F96C 6"><table width="990"
height="23" border="0" cellpadding="0" cellspacing="0" >
<form action="search/search.pl" method="GET" name="SearchSit e">
<input type="hidden" name="p" value="1" /><input type="hidden"
name="lang" value="en" /><input type="hidden" name="include" value=""
/><input type="hidden" name="exclude" value="" /><input type="hidden"
name="penalty" value="0" /><input type="HIDDEN" name="mode" value="any">

</form>
</table></td>
</tr>
<tr>
<td height="8" colspan="2"><im g src="images/spacer.gif" width="1"
height="8"></td>
</tr>
</table>
<table width="996" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="1000" valign="TOP"><t able width="1000" border="0"
cellpadding="0" cellspacing="0" bgcolor="#A4A4A 5">
<tr>
<td height="1" colspan="3"><im g src="images/spacer.gif" width="1"
height="1"></td>
</tr>
<tr>

<td width="1000" bgcolor="#FFFFF F"><table width="100%" border="0"
cellpadding="0" cellspacing="0" >
<tr>
<td width="100%" bgcolor="#6F96C 6"><!-- InstanceBeginEd itable
name="PageTitle " --><span class="pageTitl e">Support SLA
Compliance </span><!-- InstanceEndEdit able --></td>
</tr>
<tr>
<td><table width="1000" border="0" cellpadding="0"
cellspacing="0" >
<tr>

<td width="1000"><!-- InstanceBeginEd itable
name="PageConte nt" -->
<form id="form1" runat="server">
<div>
<h1>
HKS Support Statistics</h1>
<p>
Click Links for more detail,
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink1 " runat="server"
NavigateUrl="~/priority1-main.aspx">Prio rity 1 </asp:HyperLink>
Issues Last Updated:</span>
</p>
<p>
<asp:HyperLin k ID="HyperLink4 " runat="server"
NavigateUrl="~/priority1-graph.aspx"
Target="_blank" >Graph</asp:HyperLink</p>
<p>
<asp:SqlDataSou rce ID="SqlDataSour ce1" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
Number_of_ticke ts_opened, Number_of_ticke ts_closed_withi n_24hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority1 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority1 AS Priority1_1))

"></asp:SqlDataSour ce>
<asp:GridView ID="GridView1" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource1" Font-Names="Arial"
ForeColor="#333 333" GridLines="None "
OnSelectedIndex Changed="GridVi ew1_SelectedInd exChanged" >
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld DataField="Numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "Number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_c losed_within_24 hrs" HeaderText="# of Issues
Resolved Within 24hrs"

SortExpression= "Number_of_tick ets_closed_with in_24hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed within
SLAS" HeaderText="% of Issues Resolved Within SLAs"
SortExpression= "% of Tickets Closed within SLAS" />
</Columns>
</asp:GridView>
</p>
<p>
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink2 " runat="server"
NavigateUrl="~/priority2-main.aspx">Prio rity 2</asp:HyperLinkIs sues Last
Updated:</span></p>
<p>
<span style="font-family: Arial"<asp:Hype rLink
ID="HyperLink5 "
runat="server" NavigateUrl="~/priority2-graph.aspx"
Target="_blank" >Graph</asp:HyperLink>
<asp:SqlDataSou rce ID="SqlDataSour ce2" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
Number_of_ticke ts_opened, Number_of_ticke ts_closed_withi n_48hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority2 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority2 AS Priority2_1))
"></asp:SqlDataSour ce>
<asp:GridView ID="GridView2" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource2" ForeColor="#333 333"
GridLines="None " OnSelectedIndex Changed="GridVi ew2_SelectedInd exChanged">
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "Number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_c losed_within_48 hrs" HeaderText="# of Issues
Resolved Within 48hrs"

SortExpression= "Number_of_tick ets_closed_with in_48hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed
within SLAS" HeaderText="% of Issues Resolved Within SLAS"
SortExpression= "% of Tickets Closed within
SLAS"
/>
</Columns>
</asp:GridView>
</span>
</p>
<p>
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink3 " runat="server"
NavigateUrl="~/priority3-main.aspx">Prio rity 3</asp:HyperLink>
Issues Last Updated:</span></p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink6 " runat="server"
NavigateUrl="~/priority3-graph.aspx"
Target="_blank" >Graph</asp:HyperLink></span</p>
<p>
<span style="font-family: Arial">
<asp:SqlDataSou rce ID="SqlDataSour ce3" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
number_of_ticke ts_opened, number_of_ticke ts_closed_withi n_120hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority3 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority3 AS Priority3_1))"> </asp:SqlDataSour ce>
<asp:GridView ID="GridView3" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource3" ForeColor="#333 333"
GridLines="None ">
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld
DataField="numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="numb er_of_tickets_c losed_within_12 0hrs" HeaderText="# of Issues
Resolved Within 200hrs"

SortExpression= "number_of_tick ets_closed_with in_120hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed
within SLAS" HeaderText="% of Issues Resolved Within SLAs"
SortExpression= "% of Tickets Closed within
SLAS"
/>
</Columns>
</asp:GridView>
</span>
</p>

</div>
</form>
<!-- InstanceEndEdit able --></td>

</tr>
</table></td>
</tr>
</table></td>
<td width="1"><img src="images/spacer.gif" width="1"
height="1"></td>
</tr>
<tr>
<td height="1" colspan="3"><im g src="images/spacer.gif" width="1"
height="1"></td>
</tr>
</table></td>
</tr>
</table>
<table width="1000" border="0" cellpadding="8" cellspacing="0" >
<tr>
<td width="1000" align="CENTER" class="footer"> © 2006 HKS Medical
Information
Systems | <a href="http://web1.hksys.com/sw/" target="_blank"
class="footerLi nk">User
Support</a| <a href="http://www.hksys.com/admin/" target="_blank"
class="footerLi nk">Client
Login</a| <a href="default.h tm" class="footerLi nk">Home</a></td>
</tr>
<tr>
<td bgcolor="#6F96C 6"><img src="images/spacer.gif" width="1" height="10"
alt=""></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>

Sep 26 '06 #2
many thanks for the quick reply. It is greatly appreciated

Excuse me for being naive but I am new to c# so am not sure how to create a
subclass.

Do you have any code snippets that I might be able to modify?

many thanks

Mike

"Nicholas Paldino [.NET/C# MVP]" wrote:
Mike,

Have you considered creating a subclass of the data grid and exposing a
property which has the threshold for the value in column three? It might
make things a little easier for you.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Mike Baugh" <Mi*******@disc ussions.microso ft.comwrote in message
news:3D******** *************** ***********@mic rosoft.com...
I am using visual studio 2005 to develop a form using c#

I have 3 datagrids on one form.

I can set the row color based on a certain value in a column. However this
color applies to all 3 datagrida. I would like to set it so that

if value of column 3 in datagrid 1 is < 100 set to red, if = 100 set to
green
if value of column 3 in datagrid 2 is < 90 set to red, if >= 90 set to
green
if value of column 3 in datagrid 3is < 80 set to red, if >= 80set to green

No matter how I write my code I cannot seem to get the coloring to apply
to
just one datagrid

My code is below:

<%@ Page Language="C#" %>
<%@ Import Namespace="Syst em.Drawing" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<script runat="server">

protected void GridView1_Selec tedIndexChanged (object sender, EventArgs
e)
{

}

protected void GridView1_RowDa taBound(object sender,
GridViewRowEven tArgs e)
{
if (e.Row.RowType == DataControlRowT ype.DataRow)
{
if (Decimal.Parse( e.Row.Cells[3].Text) < 100)
e.Row.Cells[3].BackColor = Color.IndianRed ;
else
e.Row.Cells[3].BackColor = Color.MediumSea Green;
}
}
protected void GridView3_RowDa taBound(object sender, GridViewRowEven tArgs
e)
{
if (e.Row.RowType == DataControlRowT ype.DataRow)
{
if (Decimal.Parse( e.Row.Cells[3].Text) < 70)
e.Row.Cells[3].BackColor = Color.IndianRed ;
else
e.Row.Cells[3].BackColor = Color.MediumSea Green;
}

}
protected void Page_Load(objec t sender, EventArgs e)
{

}

protected void GridView2_Selec tedIndexChanged (object sender, EventArgs
e)
{

}

</script>

<html><!-- InstanceBegin template="/Templates/supportstats.dw t"
codeOutsideHTML IsLocked="false " -->
<head>
<!-- InstanceBeginEd itable name="doctitle" -->
<title>HKS Medical Information Systems</title>
<!-- InstanceEndEdit able -->
<link rel="stylesheet " type="text/css" href="styles.cs s">
<script language="JavaS cript" src="common.js"
type="text/JavaScript"></script>
<!-- InstanceBeginEd itable name="head" --><!-- InstanceEndEdit able --><!--
InstanceParam name="NavAboutU sON" type="boolean" value="false" --><!--
InstanceParam name="NavSoftwa reSolutionsON" type="boolean" value="false"
--><!-- InstanceParam name="NavServic esON" type="boolean" value="false"
--><!-- InstanceParam name="NavSuppor tON" type="boolean" value="false"
--><!-- InstanceParam name="NavNewsON " type="boolean"
value="false" --><!--
InstanceParam name="NavContac tON" type="boolean" value="false" -->
<script language="JavaS cript">
function breadCrumbs(bas e,delStr,defp,c Style,tStyle,dS tyle,nl) { // by
Paul
Davis - http://www.kaosweaver.com
loc=window.loca tion.toString() ;subs=loc.subst r(loc.indexOf(b ase)+base.lengt h+1).split("/");
document.write( '<a href="'+getLoc( subs.length-1)+defp+'"
class="'+cStyle +'">Home</a '+'<span class="'+dStyle +'">'+delStr+ '</span>
');
a=(loc.indexOf( defp)==-1)?1:2;for (i=0;i<(subs.le ngth-a);i++) {
subs[i]=makeCaps(unesc ape(subs[i]));
document.write( '<a href="'+getLoc( subs.length-i-2)+defp+'"
class="'+cStyle +'">'+subs[i]+'</a '+'<span
class="'+dStyle +'">'+delStr+ '</span');}
if (nl==1) document.write( "<br>");documen t.write('<span
class="'+tStyle +'">'+document. title+'</span>');
}
function makeCaps(a) {
g=a.split(' ');for (l=0;l<g.length ;l++)
g[l]=g[l].toUpperCase(). slice(0,1)+g[l].slice(1);
return g.join(" ");
}
function getLoc(c) {
var d="";if (c>0) for (k=0;k<c;k++) d=d+"../"; return d;
}
</script>
</head>

<body link="#6F96C6" alink="#6F96C6" vlink="#6F96C6" >

<table width="1000" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="224"><a href="http://www.hksys.com"> <img
src="images/hdr_logo.gif" alt="HKS Medical Information Systems"
width="187"
height="79" border="0"></a></td>
<td width="776"><!-- InstanceBeginEd itable name="Header" --><img
src="images/hdr_home.jpg" alt="" height="79" style="width: 811px"><!--
InstanceEndEdit able --></td>
</tr>
</table>
<table width="1000" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td height="25" bgcolor="#6F96C 6"</td>
<td height="25" align="RIGHT" bgcolor="#6F96C 6"><table width="990"
height="23" border="0" cellpadding="0" cellspacing="0" >
<form action="search/search.pl" method="GET" name="SearchSit e">
<input type="hidden" name="p" value="1" /><input type="hidden"
name="lang" value="en" /><input type="hidden" name="include" value=""
/><input type="hidden" name="exclude" value="" /><input type="hidden"
name="penalty" value="0" /><input type="HIDDEN" name="mode" value="any">

</form>
</table></td>
</tr>
<tr>
<td height="8" colspan="2"><im g src="images/spacer.gif" width="1"
height="8"></td>
</tr>
</table>
<table width="996" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="1000" valign="TOP"><t able width="1000" border="0"
cellpadding="0" cellspacing="0" bgcolor="#A4A4A 5">
<tr>
<td height="1" colspan="3"><im g src="images/spacer.gif" width="1"
height="1"></td>
</tr>
<tr>

<td width="1000" bgcolor="#FFFFF F"><table width="100%" border="0"
cellpadding="0" cellspacing="0" >
<tr>
<td width="100%" bgcolor="#6F96C 6"><!-- InstanceBeginEd itable
name="PageTitle " --><span class="pageTitl e">Support SLA
Compliance </span><!-- InstanceEndEdit able --></td>
</tr>
<tr>
<td><table width="1000" border="0" cellpadding="0"
cellspacing="0" >
<tr>

<td width="1000"><!-- InstanceBeginEd itable
name="PageConte nt" -->
<form id="form1" runat="server">
<div>
<h1>
HKS Support Statistics</h1>
<p>
Click Links for more detail,
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink1 " runat="server"
NavigateUrl="~/priority1-main.aspx">Prio rity 1 </asp:HyperLink>
Issues Last Updated:</span>
</p>
<p>
<asp:HyperLin k ID="HyperLink4 " runat="server"
NavigateUrl="~/priority1-graph.aspx"
Target="_blank" >Graph</asp:HyperLink</p>
<p>
<asp:SqlDataSou rce ID="SqlDataSour ce1" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
Number_of_ticke ts_opened, Number_of_ticke ts_closed_withi n_24hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority1 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority1 AS Priority1_1))

"></asp:SqlDataSour ce>
<asp:GridView ID="GridView1" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource1" Font-Names="Arial"
ForeColor="#333 333" GridLines="None "
OnSelectedIndex Changed="GridVi ew1_SelectedInd exChanged" >
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld DataField="Numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "Number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_c losed_within_24 hrs" HeaderText="# of Issues
Resolved Within 24hrs"

SortExpression= "Number_of_tick ets_closed_with in_24hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed within
SLAS" HeaderText="% of Issues Resolved Within SLAs"
SortExpression= "% of Tickets Closed within SLAS" />
</Columns>
</asp:GridView>
</p>
<p>
</p>
<p>
<span style="font-family: Arial">
<asp:HyperLin k ID="HyperLink2 " runat="server"
NavigateUrl="~/priority2-main.aspx">Prio rity 2</asp:HyperLinkIs sues Last
Updated:</span></p>
<p>
<span style="font-family: Arial"<asp:Hype rLink
ID="HyperLink5 "
runat="server" NavigateUrl="~/priority2-graph.aspx"
Target="_blank" >Graph</asp:HyperLink>
<asp:SqlDataSou rce ID="SqlDataSour ce2" runat="server"
ConnectionStrin g="<%$ ConnectionStrin gs:SupportStats ConnectionStrin g %>"
SelectCommand=" SELECT Priority, Date,
Number_of_ticke ts_opened, Number_of_ticke ts_closed_withi n_48hrs,
ROUND([%_of_tickets_cl osed_within_sla s], 0) AS '% of Tickets Closed within
SLAS' FROM dbo.Priority2 WHERE (Date IN (SELECT MAX(Date) AS date FROM
dbo.Priority2 AS Priority2_1))
"></asp:SqlDataSour ce>
<asp:GridView ID="GridView2" runat="server"
OnRowDataBound= "GridView1_RowD ataBound" AutoGenerateCol umns="False"
CellPadding="4"
DataSourceID="S qlDataSource2" ForeColor="#333 333"
GridLines="None " OnSelectedIndex Changed="GridVi ew2_SelectedInd exChanged">
<FooterStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<RowStyle BackColor="#E3E AEB" HorizontalAlign ="Center"
Font-Bold="True" />
<EditRowStyle BackColor="#7C6 F57" />
<SelectedRowSty le BackColor="#C5B BAF" Font-Bold="True"
ForeColor="#333 333" />
<PagerStyle BackColor="#666 666" ForeColor="Whit e"
HorizontalAlign ="Center" />
<HeaderStyle BackColor="#1C5 E55" Font-Bold="True"
ForeColor="Whit e" />
<AlternatingRow Style BackColor="Whit e" />
<Columns>
<asp:BoundFie ld DataField="Date " HeaderText="Dat e"
ReadOnly="True" SortExpression= "Date" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_o pened"
HeaderText="# of Issues Opened"
SortExpression= "Number_of_tick ets_opened" />
<asp:BoundFie ld
DataField="Numb er_of_tickets_c losed_within_48 hrs" HeaderText="# of Issues
Resolved Within 48hrs"

SortExpression= "Number_of_tick ets_closed_with in_48hrs" />
<asp:BoundFie ld DataField="% of Tickets Closed
within SLAS" HeaderText="% of Issues Resolved Within SLAS"
Sep 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2810
by: Andrea Trevisan | last post by:
That's a revival of a known thing I suppose.I hope it's useful. My problem was: I want to have a DataGrid with two Template columns: first with TextBox,second with Button.I want to fire an event from button and I want to have a reference to TextBox to make use of it.The most difficult was the reference to TextBox. This sample is taken from MCAD/MCSD Exam 70-305/70-315 of Microsoft Press.This book is much more exhaustive than the brief...
1
2533
by: Joe Bloggs | last post by:
I am trying display the contents of a table in a web page, select certain rows from that table and then display the fields that I have selected (now table columns) as text in a Label object. Amazingly I have managed to display the table - no problem, I can select rows - no problem, BUT I can't work out how to display more than one of the fields (now columns in the table in the web page). I can display one field OK, but not more than one...
0
1681
by: mgenti | last post by:
I am experiencing a problem when I add a row to a DataTable that is used on a DataGrid in my Windows Form application. When I add a new row I no longer get a response from my form. I see the row apear in the DataGrid but still no response from the form. If I add the same data to a rich text box and don't use the datagrid I don't have this problem. What am I missing? It has to be something simple. Here is my code snipet: private...
1
1259
by: Stephen J. Shephard | last post by:
Hi there, I know this is probably a 101-type question, and I've dealt with it using client script blocks before, but I'm curious about what the best way to handle the enter key is.. (i.e., to handle it when it generates a postback). In my particularly frustrating situation, I have a master-detail type datagrid/form page, and when the user hits the enter key, the form is submitted and the first record in the master grid gets deleted. I'm...
4
7385
by: Suzanne | last post by:
Hi all, I'm having problems with datagrids and the currentcellchanged event. My problem is this: I have a datagrid on a form, if the user changes the text in a cell on the datagrid then tries to close the form via a button on the toolbar (with going to another cell in the datagrid)I want to be able to popup a messagebox to the user asking them if they want to keep their changes. At the momment I'm accomplishing this by a property that...
0
1267
by: Marcus Kwok | last post by:
I am having a weird problem with my DataGrid that is bound to an ArrayList. My situation is as follows: I have two DataGrids on a modal form. The top grid populates an ArrayList from a file, then the datagrid is bound to it, and it works fine. The bottom DataGrid is bound to a different ArrayList that holds the same type as the first ArrayList. Both DataGrids are set to Read-Only. The user selects a row from the top DataGrid, then...
9
2138
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. For a datagrid control, i used the Caption property. It displays fine on the datagrid and allows me to run the program. But, when i view the HTML for the web form, it shows this error at the
9
2737
by: rn5a | last post by:
A Form has a DataGrid which displays records from a SQL Server 2005 DB table. Users can modify the records using this DataGrid for which I am using EditCommandColumn in the DataGrid. This is the code: <script runat="server"> Dim sqlConn As New SqlConnection(".....") Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) If Not (Page.IsPostBack) Then FillDataGrid()
8
2002
by: =?Utf-8?B?bWlrZWc=?= | last post by:
Hi, I am building a small Help Desk application for my company and need to be able to edit "open" help desk issues. I use a simple datagrid to display each issue (6 per page) , with an Edit button. There are a lot of fields across, and my Network Admins would like a way of editing/updating each issue seperately in a a vertical form. I need a way of clicking on the edit button ,bringing up a form with the record, editng the fields, and...
0
11348
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10921
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11052
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9727
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7249
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5938
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3359
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.