|
Assuming the 1000 rows are coming from a data base, you have two options...
1) Query only the data your looking for and not everything, remember "any monkey can SELECT * FROM
2) Use a DataView to filter out the data you want to display
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
as mentioned use the filter option or change the query to have a where clause.
but FYI. THE USE OF CAPITALS is considered shouting in forums.
|
|
|
|
|
DataGridView is populated with all coumns from database since i need some
column's data for condition statement (user will select columns at run time for display), so how to filter DataGridView column in order to
show whatever column user want?
-- Ravi Munde
|
|
|
|
|
Each DataGridViewColumn has a Visible property you can change so that you only display what you need.
|
|
|
|
|
How to add a splash screen to a C# project
|
|
|
|
|
Search CP. I am sure there is one article on this topic.
C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live." - Martin Golding
|
|
|
|
|
Here's one for example: http://www.codeproject.com/KB/cs/prettygoodsplashscreen.aspx
Regards,
Lev
|
|
|
|
|
Hi friends,
Could anybody help me in finding fault with my web parts which r not moving?Previously I could move them,but now they cannot be moved!Other things r working well like renaming web parts ,closing,minimizing web parts etc...I checked if there is any problem in the less space of web parts,but there isn't any!Kindly help me asap,friends!
modified on Monday, December 8, 2008 4:31 AM
|
|
|
|
|
There are 5 Display Modes in WebParts.
DesignDisplayMode
BrowseDisplayMode
EditDisplayMode
CatalogeDisplayMode
ConnectDisplayMode
If you are in BrowseDisplayMode the you cannot move the webparts.
To move the parts you have to set it to either DesignDisplayMode or EditDisplayMode .
or If you never want the BrowseDisplayMode then add this code to your Page_Load() where wpManager is the name of your Web Parts Manager (WebPartManager1)
if(!Page.IsPostBack)
wpManager.DisplayMode = WebPartManager.EditDisplayMode;
if (!wpManager.DisplayMode.AllowPageDesign)
wpManager.DisplayMode = WebPartManager.EditDisplayMode;
|
|
|
|
|
Alreday I have done those things..I alreday have mentioned that I can do other things with web parts except moving now!So can i get help?
|
|
|
|
|
If you are using the ajax update panel, then you should put the webpartmanager inside the update panel. otherwise it will not allow you move webparts.
Also check that javascript is enabled in your web browser (dont use firefox).
Or just create a test project with two web part zone and test. if it is working fine then post some code, that you feel causing problem, otherwise something wrong with the browser.
|
|
|
|
|
Hi Rutvik,
I got it!
U r simply Great!
|
|
|
|
|
I have a datagridview that contains a LinkColumn. The link is set/edited in a popup window and the cell's value is updated programatically. The problem is that if the user is setting the value in the dgv's bottom row (the new row), a new row doesn't automatically appear below it like when the user types in a TextBoxColumn.
How can I force a new row to appear after the LinkValue has been set programatically?
My code this week has no errors. But it's Monday morning and I haven't got out of bed.
|
|
|
|
|
What happens if you put some dgv.Rows.Add here?
|
|
|
|
|
I can't because the dgv is databound. I would just like to know what the dgv is doing to add the new row when a user types text into a TextBoxColumn.
My code this week has no errors. But it's Monday morning and I haven't got out of bed.
|
|
|
|
|
Hi,
i heard about Process Explorer v11.3.
Is there any chance a hidden program loads without my knowledge?
i dont care about the efects of a particular software, virus or trojan, i which to know how to know all the programs that are loading at the current time. I dont know if there is a software like the above or taskmanager.
How can i create a software like this?
(code, links anything)
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
|
Are you trying to write something to monitor your system - like process explorer. Or are you trying to write something that runs hidden eg virus etc?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
You've been asking this for days. Please give it up.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Most likely there are applications loading without your knowledge.
Process explorer is a damned handy tool to view all running processes on your system. I don't see how that pertains to your question, you want to mimic PE or do you want to make your own software that will be hidden?
|
|
|
|
|
Hi All,
can someone plz let me know how can I put an .ico on windows form in c# (before the Form's "Text" property). i opened the .ico in windwos form Icon property, but it didn't appear on the form when i run it.
thanks heaps.
|
|
|
|
|
Is the ShowIcon property set to true?
Revolutionary: Disk drives go round and round.
|
|
|
|
|
Hi,
Form icons are set trough the Icon property; they only show for some FormBorderStyle values (e.g. Sizable, but not FixedDialog). Also ControlBox and ShowIcon must be true.
|
|
|
|
|
|
You're welcome.
|
|
|
|