473,587 Members | 2,508 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

i have a grid and i want to hide 2 paricular cols

1 New Member
i have a grid say grid1 and grid2, from grid2 i m selecting values(grid2 contain 4 cols) from the database and filling it in col 3 of grid1 now if during filling of grid2 if i have particular value(col 4 value of grid2 = 2) say 2 then i need to hide col 3 of grid1...
Aug 17 '10 #1
1 964
truezplaya
115 New Member
Can't you just not populate the data to the grid if a value == something?
Aug 17 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1764
by: David Perez | last post by:
Hi all, We have two buttons in an aspx page like this <input id="Print" type="button" value="Print" onclick="javascript:self.print()"> <input id="Close" type="button" value="Close" onclick="javascript:self.close()"> We want hide this buttons when the Print button is clicked, to make this buttons not to be shown in the printed page.
4
6475
by: Sidney | last post by:
Hi~ I want to know if I want to hide a column in datagrid because I don't want to show that column of data. How can I do this? Sidney
6
14159
by: MJB | last post by:
I have an application that I need to hide at startup in the system tray. I found this article on how to do it: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtsksettingformtobeinvisibleatitsinception.asp The problem with this method is that when I call the Hide() function on f1 it causes the form to close which...
2
7247
by: shekar | last post by:
Hi, I am showing data in gridview... But i want to hide one particular column in that gridview but i must not keep that column property visable=false....if i keep false i am getting problem when i am updating the row...becoz that is datakeynames.. any suggesstions plz.... Shekar.
10
10339
by: kaczmar2 | last post by:
Hey there, I have a large image in a browser window, and I would like a way to overlay grid lines on top of the image, so a user can show the grid or hide the grid lines. The grid would cover 100% of the image, and all I would need is a set of horizontal and vertical lines over the image to create a grid overlay Is there a way I can...
3
7604
by: kaczmar2 | last post by:
Hey there, I have a large image in a browser window, and I would like a way to overlay grid lines on top of the image, so a user can show the grid or hide the grid lines. The grid would cover 100% of the image, and all I would need is a set of horizontal and vertical lines over the image to create a grid overlay. Two requirements...
15
92442
by: Nageshwarrao | last post by:
Hi Every one, My Problem is, I want to hide the options in drop down. As an example, I have code as <SELECT> <OPTION>NAME</OPTION> <OPTION>REG.NO</OPTION> ...
0
1084
by: yogarajan | last post by:
Hi all, I need to display two sets of records. The second one should come under the first set of records and also second one uses the first one's unique id. for example, First table values id Show/hide button checkbox category 1 <Hide button> <checkbox> car (parent) ...
3
2915
by: DAnDA | last post by:
Hi Simply i want Hide all Textboxes in a Panel ,,, in asp.net i can do it by C# : foreach (Control ctrl in Panel1.Controls) { if (ctrl is TextBox) {
4
3062
by: somasekhar | last post by:
Does anyone know how to have a user click a checkbox to unhide a editfield Unclick of the checkbox would hide it again. There is an example of html file on the Javascript .But I want hide and unhide same as in xml file plz give me the answer with example any body knows. <html> <head> <title>CB Hide/Show</title> <script...
0
7852
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8216
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. ...
0
8349
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...
0
8221
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6629
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...
0
5395
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...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
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
0
1192
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...

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.