codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Gidview row disable  smvcoder at 14:36 on Wednesday, February 08, 2012
 

Hello....

I am using the following code..

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.Cells[3].Text == "scrapped")
{
e.Row.Visible=false;
}
}
}

Here the e.Row.Cells[3].Text returns combined texts of all cells in that particular column. For example if column 'status' contains In Progress, Waiting,Scrapped etc the e.Row.Cells[3] returns 'In ProgressWaitingScrapped'. What i need is the 'i'th rows cell[3] value and compare that to string 'Scrapped' and the disable 'i'th row completely which contains the value 'Scrapped'. Can someone help me with this.
Many Thanks....


  Re: Gidview row disable  Alan_Smith at 12:30 on Tuesday, February 28, 2012
 

If you want to remove effect or hide row number I, then you can you can remove it by /* or // symbols in C and C++ programming language. You can hide unused information as % your hidden command or text % in Java script of another programming language.

<Added>

If you want to remove effect or hide row number I, then you can you can remove it from /* or // symbols in C and C++ programming language. You can hide unused information as % your hidden command or text % in Java script of another programming language.

  Re: Gidview row disable  sathish_chennai at 12:36 on Friday, July 20, 2012
 

Have you tried

e.Row.Enabled=false;




Regards
sathish_spt@rediffmail.com;

  business cash advance  merchao40 at 05:42 on Wednesday, August 08, 2012
 

<a href="http://www.merchantfundsadvance.com/
">business cash advance
</a>Merchantfundsadvance.com specilized in merchant cash advance, business cash advance, unsecured business loans and merchant cash advance companies. We can also provide you with the capital needed to start your small business and move on with the next chapter of your life.</a>


  Moncler Outlet For Sale Cheap Moncler Jackets & Cheap Moncler Coats & Moncler Vests  outletmoncler at 01:26 on Wednesday, August 15, 2012
 

We are a pioneering <a href="http://www.outlet4monclerjackets.com/" rel="nofollow">Moncler Jackets</a> Outlet draper in terms of design <a href="http://www.outlet4monclerjackets.com/" rel="nofollow">Moncler outlet </a>, function and style.If you are scouting about a suitable jacket to brave the rain and snow outdoors, our unique <a href="http://www.outlet4monclerjackets.com/" rel="nofollow">Cheap Moncler Jackets</a> is your perfect option. What's more, our ranges of jackets, coats, vests and T-shirts are unsurpassable. So, you will be spoilt for choice here!
<a href="http://www.outlet4monclerjackets.com/" rel="nofollow">Moncler Coats</a> Fashion is the changing concept of incorporating newer and better trends into it. We have been devoting to offer the latest and classic Moncler men jackets at cheapest prices. Trust Moncler, Trust Us!!
We have a miscellaneous collection of <a href="http://www.outlet4monclerjackets.com/" rel="nofollow">Cheap Moncler Coats</a> for you to select. Choose the style which perfectly suits you and give you a sense of comfort Cheap Moncler Coats . Make yourself outstanding by purchasing here!
Women do not like the winter Moncler Vests, because it is not only cold, but also they have to throw away their colorful nice clothes. But now, We believe once you put our Cheap Moncler Vests on, the winter can not be an obstacle to hide your radiance!
No matter what part of the country you live in, or what time of the year it is, every woman needs a down jacket. Our Moncler women down jackets are so appealing in looking that can easily envy others at www.outlet4monclerjackets.com .

  Re: Gidview row disable  suprasneaker at 04:58 on Thursday, September 13, 2012
 

<p><a href="http://www.supratksocietyshoesoutlet.com/">Online Supra Sneaker Outlet</a>, Factory Direct!You will find that low price and top quality <a href="http://www.supratksocietyshoesoutlet.com/">Supra Footwear cheap sale</a> for people to choose from. Get best service by every purchase of Supra Footwear. <a href="http://www.supratksocietyshoesoutlet.com/">www.supratksocietyshoesoutlet.com</a> has the latest information about <a href="http://www.supratksocietyshoesoutlet.com/">Justin Bieber Shoes</a>. More information about <a href="http://www.supratksocietyshoesoutlet.com/">Justin Bieber Supra Shoes</a> including release dates and prices. Thanks for your attention on our store.
Find your favorite styles from our large collection of <a href="http://www.supratksocietyshoesoutlet.com/">Supra Footwear</a>,<a href="http://www.supratksocietyshoesoutlet.com">Supra Shoes UK</a> and more!Top quality <a href="http://www.supratksocietyshoesoutlet.com/">Supra Society Mid Shoes</a> are hot sale now,welcome to our <a href="http://www.supratksocietyshoesoutlet.com/">Supra Shoes Store</a> the more surprise waitting for your such as high quality,fast shipping and 46% OFF!
<p>This <a href="http://www.supratksocietyshoesoutlet.com/men-supra-society-mid-shoes-c-15/">Men Supra Society Mid Shoes</a> is the most fashion style this season.The <a href="http://www.supratksocietyshoesoutlet.com/">supra store</a> is a good choose,and became a bright point for this Supra Shoe.<a href="http://www.supratksocietyshoesoutlet.com/men-supra-skytop-shoes-c-4/">Men Supra Skytop Shoes Discount</a>,We stock various <a href="http://www.supratksocietyshoesoutlet.com/">Cheap Supra Skyop Shoes</a> with top quality and cheapest price.Your complete satisfaction is our top priority for long term business between us.Our shop is your best choice to buy <a href="http://www.supratksocietyshoesoutlet.com/">Supra Skytop</a>.All shoes are packaged with original tags,fast mailing to your door.Welcome to choose one!</p>
<p>Best <a href="http://www.supratksocietyshoesoutlet.com/">Supra shoes online</a> retailer here!Many fashion justin bieber shoes just design for you.High quality <a href="http://www.supratksocietyshoesoutlet.com/kid-supra-skytop-shoes-c-11/">discount Kid Supra Skytop Shoes Sale Online</a> at low prices.</p>
<p><a href="http://www.supratksocietyshoesoutlet.com/2012-new-supra-tk-society-c-2/">2012 New Supra TK Society</a>
<a href="http://www.supratksocietyshoesoutlet.com/justin-bieber-shoes-c-1/">Justin Bieber Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/men-supra-skytop-shoes-c-4/">Men Supra Skytop Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/men-supra-skytop-iii-shoes-c-7/">Men Supra Skytop III Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/men-supra-tk-society-shoes-c-3/">Men Supra TK Society Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/men-supra-vaider-shoes-c-9/">Men Supra Vaider Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/women-supra-skytop-shoes-c-6/">Women Supra Skytop Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/women-supra-skytop-iii-shoes-c-8/">Women Supra Skytop III Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/women-supra-tk-society-shoes-c-5/">Women Supra TK Society Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/women-supra-vaider-shoes-c-10/">Women Supra Vaider Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/kid-supra-skytop-shoes-c-11/">Kid Supra Skytop Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/kid-supra-tk-society-c-12/">Kid Supra TK Society</a>
<a href="http://www.supratksocietyshoesoutlet.com/supra-pilot-shoes-c-13/">Supra Pilot Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/supra-cuttler-ns-shoes-c-14/"></a>
<a href="http://www.supratksocietyshoesoutlet.com/men-supra-society-mid-shoes-c-15/">Men Supra Society Mid Shoes</a>
<a href="http://www.supratksocietyshoesoutlet.com/women-supra-society-mid-shoes-c-16/">Women Supra Society Mid Shoes</a>
<p><a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-black-grey-orange-shoes-p391.html">2012 Supra Skytop Black Grey Orange Shoes</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-black-grey-purple-shoes-p392.html">2012 Supra Skytop Black Grey Purple Shoes</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-black-red-sneaker-p393.html">2012 Supra Skytop Black Red Sneaker</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-black-white-green-black-p394.html">2012 Supra Skytop Black White Green Black</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-black-white-snowflake-shoes-p395.html">2012 Supra Skytop Black White Snowflake Shoes</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-blue-snowflake-shoes-p396.html">2012 Supra Skytop Blue Snowflake Shoes</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-grey-black-snowflake-shoes-p397.html">2012 Supra Skytop Grey Black Snowflake Shoes</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-grey-snowflake-shoes-p398.html">2012 Supra Skytop Grey Snowflake Shoes</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-white-black-snowflake-shoes-p399.html">2012 Supra Skytop White Black Snowflake Shoes</a> <a href="http://www.supratksocietyshoesoutlet.com/2012-supra-skytop-white-orange-snowflake-shoes-p400.html">2012 Supra Skytop White Orange Snowflake Shoes</a>








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• Run a program both on windows and linux
• VERO.SurfCAM.v2014
• Schlumberger.Petrel.V2013.2
• Petrel.V2013.2
• Altair.HyperWorks.v12
• VoluMill.v6.1
• VoluMill.NEXION.6
• VERO.SurfCAM.v2014
• Schlumberger.Petrel.V2013.2


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2014