1
Answer

How to validate column in between given position?

Raja

Raja

8y
277
1
i have 45 rows and 45 columns in data table.<br /> * validate third column,(12 Th row to 39 row)in this in between field have at least one value(my requirement is the value is '1')<br /> * if 3rd column 19 row value is '1' then other fields or empty.that's not a problem.<br /> * if no row have any value then only through the error <br /><div> How to do it.</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div><strong>What I have tried:</strong><br /> <br /> i have used looping for rows and column given below.<br /> <div id="premain922038" style="100%;display:block;"><span id="prehide922038">Hide</span> <span id="copycode922038">Copy Code</span></div><pre id="pre922038">for(int j= 3; j&lt;= columncountvalue; j++)<br /> {<br />for (int i = 12; i &lt;= rowcountvalue; i++)<br /> {<br /> if (ds.Tables[s].Columns[3][i].ToString().Trim() == "") <br /> {<br /><br /> // statements<br /> }<br /> }<br /> }</pre> <br /> <div id="premain204512" style="100%;display:block;"><span id="prehide204512">&nbsp;</span><span id="copycode204512"></span></div><pre id="pre204512" style=" 0px;"><span style="background-color: #ffff00;">now i want which condition used for that requirements. </span></pre>&nbsp;</div>
Answers (1)
0
Mahesh Chand

Mahesh Chand

1 286.4k 123.7m 13y
If you are having same problem with Yahoo also, it must be your Internet is very slow. We are working on a lighter version of the site that will be launched by Jan 01.
Accepted
0
Karthik Agarwal

Karthik Agarwal

NA 873 238.8k 13y
@Mahesh: No mahesh i can't doubt my internet connection as it's doing pretty well. My internet connection speed is 2Mbps. I am able to see videos without any buffering. May be i need to wait till you launch lighter version i guess if there isn't any solution for this. Why i can't doubt my internet connection is, previously i was with some other service provider as i shifted to some other house along with that i changed my service provider as well but the problem still exits.

@Sam: I opted for 4Mbps connection but when I checked it using Mcafee speedometer it was past 1Mbps. I doubt that is the not the problem with speed, there is something else happening. I will try calling tech support of my service provider.
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
Do you know how fast your connection is? There are many ways to test connection speed. One of them is the DSLReports.com Speed Test but there are vary many others.