|
Dave Kreskowiak wrote: Even at moving 1,000 columns at a time, that's still 12.5 clicks to see the middle of the table.
No matter how you bandaid this, it's still a horrible "solution".
Not that I advocate continuing on a design path doomed to fail, but you could always have "Jump To" button which would work just fine, maybe even acceptable to a given client assuming it was the same client that came up with 25,000 columns requirement.
|
|
|
|
|
I think you need to re-design your application. Twenty five THOUSAND columns? I'm almost afraid to ask how many rows you anticipate having...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
The obvious solution is to use a virtual table, i.e. only generate the rows and columns that are currently visible on screen.
When the user scrolls this huge table, simply get the values of the visible cells and the visible row/column headers, and display them.
|
|
|
|
|
public static SqlParameter Parameter<t>(string parameterName, DbType parameterType, T value, ParameterDirection direction)
{}
public void SqlParameter Parameter(string parameterName, DbType parameterType, string value, ParameterDirection direction)
{}
Please explain.....
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia - if this is in reply to your other question, please ask this on that thread. It's not good practice to do this. Anyway - to answer your question:
The first Parameter is missing the <T> attribute which marks it out as a generic method. The second Parameter won't actually work because you have void and SqlParameter in the definition. However, if you are talking about the string value portion, the difference is that if you pass in an integer (for instance), you would have to cast this parameter from an integer to a string.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
How To Control Forward and Back Buttons for internet explorer. I wnat when click the back button the appear a message and when click forword button the appear message. in asp.net.
This is possible. then please help me anybody.
|
|
|
|
|
Gagan Deep Garg wrote: How To Control Forward and Back Buttons for internet explorer. I wnat when click the back button the appear a message and when click forword button the appear message. in asp.net.
Will you please not do this. You asked this question 4 hours ago. Please have the courtesy to reply to that. Don't try to artificially make your post appear more important than it is.
Secondly - exactly which part of this requirement has anything to do with C#? Try as I might I just can't see it. Choose the right forum at least.
Gagan Deep Garg wrote: This is possible.
Is it? How do you know? If you know that it's possible then surely you have some idea how to do it and merely need to fill in a couple of details in google.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Try replying to my message here. But before you press "Post Message" try hitting back. You will be presented with a dialog telling you that you will lose your changes. Now, if you view the source of the "Reply to a Message" page, you will find what you need. Search for "You will lose any unsaved text".
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
I am using a Temprory table. inside a two columns
DataTable item = new DataTable("tblitems");
item.Columns.Add(new DataColumn("Item No", Type.GetType("System.String")));
item.Columns.Add(new DataColumn("Date of Manu.",Type.GetType("System.String")));
table store in view state
ViewState["ab"] = item;
how store a this table in database. sql server Database are inside Two columns(Itemno, DateofMancu)
cmd.parameters.add("@parametersname",sqldbtype. ).value = parametervalue
how pick a value particular column in view state.
parametersname = "@itemno"
parametersvalue= ?
|
|
|
|
|
|
When I use the wsdl tool to create a web service proxy, it always makes the call back delegate a module level object variable, it then puts the code in as follows:
private SendOrPostCallback _cb;<br />
<br />
public void GetProductsAsync(ProductsRequestEntity request, object userState)<br />
{<br />
if (_cb == null)<br />
_cb = new SendOrPostCallback(OnGetProductsCompleted);<br />
<br />
this.Invoke("GetProducts", new object[] { request}, _cb, userState);<br />
}<br />
Does the callback delegate need to be a module level variable, will coding it the following way cause me any problems:
<br />
public void GetProductsAsync(ProductsRequestEntity request, object userState)<br />
{<br />
this.Invoke("GetProducts", new object[] { request}, new SendOrPostCallback(OnGetProductsCompleted), userState);<br />
}<br />
I have a lot of proxies to create and tidy up, taking a few shortcuts will save me a lot of time.
Thanks in advance,
Adam
|
|
|
|
|
Hello Sirs.. I Have tried creating a program on the simulation of the Dining Philosophers.. I need help on creating it..
|
|
|
|
|
Solutions can be found on Wikipedia.
Standards are great! Everybody should have one!
|
|
|
|
|
Never heard of it. From the name, I'm guessing it's a common homework question, like towers of hanoi. We don't do homework, we help people who have tried to do their own homework and are stuck.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Never heard of it. From the name, I'm guessing it's a common homework question
It is a basic concurrancy 101 problem.
Meanwhile the lecturer I had for concurrancy lectures all those years ago said that in 10 years all you would remember is the following story. It has been about 11-12 years ago now and he's right. It is the only thing I remember. The story goes:
There was a man who went into a sweet shop and went up to the counter and asked for a Mars bar. The shopkeeper had no Mars bars so he clonked the man over the head until he passed out, then he dragged the man to the corner of the shop to where the pile of other people who'd asked for Mars bars were lying.
Soon afterwards the Mars bar truck turned up and the shopkeeper filled his store with Mars bars. He then got out his smelling salts and revived all those that had requested a Mars bar. He sold them each a Mars bar and his customers left his shop contented.
|
|
|
|
|
The Shopkeeper was subsequenlty arrested on numerous accounts of GBH, and spent 7 years in Broadmoor after his lawyer pleaded "reduced responsibility".
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
martin_hughes wrote: The Shopkeeper was subsequenlty arrested on numerous accounts of GBH
WARNING: Pedantic hat too tight. Please adjust pedantic hat before...
Well, since I'm in Scotland and we don't have GBH I don't think that would happen. Our nearest equivalent is attempted murder.
... Pop! That's better.
|
|
|
|
|
Colin Angus Mackay wrote: Well, since I'm in Scotland and we don't have GBH I don't think that would happen. Our nearest equivalent is attempted murder.
I understand GBH is considered to be more of an affectionate greeting, than an attempt to harm, north of the border
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
Yes, it's a very common homework/teaching problem to learn about threading (producers/consumers).
|
|
|
|
|
Hello,
I'd like to enable antialiasing in WPF's Viewport3D control, under Windows XP.
I tried RenderOptions.EdgeMode="Aliased" (in XAML), but it does not seem to change anything.
Any ideas?
|
|
|
|
|
Quote from MSDN[^]: 3D anti-aliasing is only supported on Windows Vista.
Guess XP is starting to show it's age and it's time to move on
|
|
|
|
|
Well said, and thank you for your reply. I'll then suggest the upgrade to my prospective clients because on XP my WPF app will look ugly (or I'd rather look for some other gimmick ).
|
|
|
|
|
I'm experiencing a brain freeze and am battling to come up with an elegant design pattern for control break processing, i.e. grouping in a report. Can anyone please give me some pointers?
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
I would like to show a reminder message each time the user shutdown or logoff his machine. How can I achieve it.
|
|
|
|
|
.net provides "Windows Service" projects for these type of work.
jayasshc
|
|
|
|