C
cgsGUNASEKARA
Guest
Value of variable EPF does not assign within the netsd loop
Int k=0;
Int g=0;
String EPF;
while(rd_1.Read()) // read employee
{
if ( rd_1["FileSize"].ToString() != "0") {
EPF = (rd_1["Email"].ToString());
while(rd.Read()) // read mydocs
{
if ( rd["FileSize"].ToString() != "0" ) {
if (rd["Email"]==EPF) {
Response.Write ( rd[“Comment"] );
}
}
g++;
}
}
k++;
}
Continue reading...
Int k=0;
Int g=0;
String EPF;
while(rd_1.Read()) // read employee
{
if ( rd_1["FileSize"].ToString() != "0") {
EPF = (rd_1["Email"].ToString());
while(rd.Read()) // read mydocs
{
if ( rd["FileSize"].ToString() != "0" ) {
if (rd["Email"]==EPF) {
Response.Write ( rd[“Comment"] );
}
}
g++;
}
}
k++;
}
Continue reading...