Not familiar with using coms, and would almost rather see code, but can't
you wrap this with a try/catch block?
On Friday, May 11, 2012 11:07:51 AM UTC-5, Processor-Dev1l wrote:
>
> So, to put story short, I have a C# application that uses some COM API to
> connect to remote server.
> Problem is
Not sure why you would need to do this, but can't you just put a label in
the div, and on the postback, set the value of the textbox to the value of
the label?
On Friday, February 3, 2012 1:23:16 AM UTC-6, vinod wrote:
>
> *ASP.net*
> i am collecting (max 1000 character long ) text from user u
l.GenerateExcel(*gridview name*, "*Report Title*");
}
Sums did work on the exported sheet when I tried. If you have a better
idea, please advise. I'm always willing to learn. :)
On Thursday, March 15, 2012 10:54:18 AM UTC-5, srussell705 wrote:
>
> On Thu, Mar 15, 2012
I don't have code in front of me to explain in detail, but can't you
step through the dataset and add some sort of String.Format (assuming
you're using C# here - it looks like you are)?
Example for string format.
http://stackoverflow.com/questions/418822/asp-net-negative-numbers-in-parenthesis
Ex
My biggest question would be: what do you have triggering the
javascript? is it supposed to be a button click? A change of a
textbox value? A page load? Whatever it is, that object needs to
trigger the javascript. Furthermore, I'd suggest putting your
javascript in its own file, so you won't
That would depend on how many objects (and the type of object, I
think) you have accessing the viewstate.
On Aug 2, 6:18 am, mahendiran jayavarma wrote:
> Hi,
>
> Please let me know what is size of viewstate?
>
> If any one know please tell me...
>
> Thanks,
> Mahendiran Jayavarma.
I'm not sure if that is possible...
My understanding is that your custom error page would be generated
from the server right? So if you stop your IIS server, you wouldn't be
able to generate a server-side error message.
Though messing with IIS in itself is not my forte, I'm almost certain
that it
Have you looked at the tutorial?
Ah... look: http://tinyurl.com/2vy25vo
On Apr 29, 7:58 am, Gourav wrote:
> Hi friends,
>
> I need to create a menu dynamically, I am using asp.net Menu control
> in ASP.NET 3.5.and Sql Server 2005.Here Admin can change the Number
> and name of menu so its dynam
lumns
BIRTHDATE = 01/01/50, and BIRTHDATE_CENTURY = 19, and so on for /all/
the rows. It would seem that every single Date column functions this
way.
Not joking.
So I guess this software is Y2K-noncompliant? And here I thought it
was all hype...
On Jan 11, 3:22 am, chuck wrote:
> Hey everyone,
Hey everyone,
I'm working on a C# application at work that establishes an
OleDbConnection to a few DBF files via the Jet driver and executes
some basic queries. The problem is that with any Date column, years
before 1950 are interpreted as 20xx. The obvious conclusion is that
this is a result of
Welcome and good luck. :)
On Sep 29, 3:38 pm, joviyach wrote:
> Hello all,
>
> I am new to .NET programming, I am trying my hand at C# at the moment,
> and I took a VB.NET class in what seems like a past life. I have
> experience in PHP, SQL, and a little bit lately in Ruby on Rails. I am
> lo
Hello everyone!
Cerebrus, per your request, a new post has been made. I figured that
was going to be a your request. :)
For everyone else, I had these questions come up from a different post
about ObjectDataSources.
http://www.theserverside.net/news/thread.tss?thread_id=29919
http://msdn.micr
ures.
>
> As for the formatting, it follows the trend set by MS - "Our IDE
> writes better code than you, so we're going to write it our way."
>
> On Sep 2, 9:13 am, Chuck wrote:
>
> > Hello everyone,
>
> > I've had a minor problem that has only
Hello everyone,
I've had a minor problem that has only recently started bugging the
heck out of me due to annoyance, and I would really like for it to
stop. I'm using Visual Studio 2005 at work (mainly ASP.net 2.0 and
C#). I've been using the sqlDataSource objects without a problem to
connect to
You don't need javascript or the OnClientClick features at all.
As Cerebrus mentioned, the CustomValidator option will work just as
easy. Better yet, the RequiredValidator may even be easier, if you're
just making sure something is in your textbox, as it will check if it
is empty. If it is emp
On Jul 28, 3:14 am, Cerebrus wrote:
> You're welcome, Chuck. I am looking forward to your feedback/comments/
> questions/brickbats etc. ... :P
>
> On Jul 27, 7:19 pm, Chuck wrote:
>
>
>
> > Cerebrus,
>
> > I'm certainly going to takeaway quite a bit
Cerebrus,
I'm certainly going to takeaway quite a bit from your post, as I
understand a good bit of what you listed. I'll keep you posted and
what I am able to get done, and will ask questions if needed.
A point to bring up on your list though:
1) The user control
I'm still learning the inner
Showing gridview vertically? Do you mean to pivot your gridview, as
in a pivot table?
On Jul 27, 1:14 am, manish mishra wrote:
> what is the process to show gridview vertically in asp.net
Code Behind:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class
require any hidden fields unless you are doing some
> sort of custom UI interaction via Javascript. Keep in mind that
> SqlDataSources can accept many different types of parameters.
>
> If you can post a simplified code sample for us to try out, I can try
> to come up with an alternat
rt of custom UI interaction via Javascript. Keep in mind that
> > SqlDataSources can accept many different types of parameters.
>
> > If you can post a simplified code sample for us to try out, I can try
> > to come up with an alternate way to handle this.
>
> > On Jul 1
I have a relatively simple question aside from a major application I'm
building at work.
Is there such a thing as having too many hidden fields on an ASP.net
page? I currently have 3 now, and may need to pass at least 3 more
back to my sqldatasource.
Just for a little bit of background to what
Agreed with Cerebrus on this one.
In my relatively short programming life (approx. 1yr 3mos.), I've had
the opportunity to learn quite a bit from two people at work: one of
them is a "hardcore code everything from scratch" person, and the
other exploits the new technology -- using appropriate cod
LOL I like that.
On Jan 7, 8:59 am, Cerebrus wrote:
> If you must teach him something... teach him how to google.
>
> Something like this :
>
> http://tinyurl.com/5rlyjz
>
> On Jan 7, 11:28 am, "jack me" wrote:
>
> >http://www.google.co.in/search?hl=en&q=HttpModules+and+HttpHandlers+i...
>
> >
I don't know anything about PHP, but I figured I'd point out something
on this subject, as I just ran across the issue.
When you're using server-side tags as mentioned above (ClientID
references), you can't stick your javascript in its own file; it has
to be on the page itself, (and the masterpa
I'm not sure I follow...
the public control is supposed to get info from the hidden control, or
vice-versa?
And in either case, are you explicitly passing the value to either/or?
More info could actually help here too.
Let me know if I misunderstood.
On Dec 30 2008, 3:24 pm, nerd_boy wrote:
be to redirect.
}
}
else
{
// Log error or handle appropriately.
}
Not sure if this completely helps, but should be a good start.
On Jan 1, 12:03 pm, "m...@ni" wrote:
> ok cerebrus and chuck 1 more thing came to my mind regarding checking
> of the querystring,
In a customer service call center: Probable? yes. Possible, maybe
not.
On Dec 31, 5:32 pm, KeidrickP wrote:
> what are the chances of 300 people validating the same control at the same
> time?
>
> > one of the simplest validation scenarios and you should easily be able
> > to write the validation function on your own. (assuming basic JS
> > skills).
>
> > On Dec 30, 1:10 am, Chuck wrote:
> >> Try the validation controls. Look for reference
> >
assuming that you are using .NET 2.0 or greater.
> Either way, don't be discouraged. I'm just trying to help you learn
> and I think Chuck had the same intention.
>
> > - Show quoted text -
No problems. Let me know if this helps or not.
On Dec 29, 2:25 pm, Stacie wrote:
> Thanks Chuck!
>
> On Dec 29, 2:10 pm, Chuck wrote:
>
> > Try the validation controls. Look for reference
> > here:http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/valida
Try the validation controls. Look for reference here:
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/validation/default.aspx
I would try to set it up under the custom validator.
I know there's a javascript way to doing it; you might be able to
google javascript validation and take
Technically, from what I see here, you have it setup correctly (unless
I missed something here). However, I have a few questions:
- The page that has this code, does it have the parameter labeled
"Cngld" in the url?
- If it does have the parameter, is it blank, null, or listed as ""?
- Is the
Agreed with Cerebrus. No code to look at. Not sure if you're not
passing the variable through URL, if you're actually using code to
retrieve the parameter...
... or nothing whatsoever.
Show more info please as to what you're doing.
Or trying to do at least.
On Dec 28, 3:39 pm, "m...@ni" wro
Understandable. LOL
I figured I'd just check my own thought patterns on it. :)
On Nov 6, 4:44 pm, "Al Longobardi" <[EMAIL PROTECTED]> wrote:
> Chuck,
> I wasn't about to give the guy the entire solution. Sure, it could all be
> done in a more complicated
rs <> 0
> Begin
> RollBack;
> End
> Else
> Begin
> Commit
> End
>
> End
> Hope this helps...
> Al
>
> On Tue, Nov 4, 2008 at 10:54 AM, Chuck <[EMAIL PROTECTED]> wrote:
>
> > Are you wanting to restrict
I'm not sure what WSE is (still a newbie at programming altogether),
but a quick search on Google led me to these two links so far:
http://msdn.microsoft.com/en-us/library/aa529239.aspx
http://msdn.microsoft.com/en-us/library/ms977317.aspx
Hope this is a good start...
Chuck.
On Nov
Are you wanting to restrict/reduce the amount of times you hit the
database with statements, or you simply want to have one - and only
one - SQL UPDATE statement update 'n' amount tables at the same time?
More info is definitely needed.
However, I don't believe you can have one Update statement u
I definitely would research the client id aspect via Javascript as CK
suggested, but why would you want to do this via javascript, when you
can actually do the same thing through the page load of your
respective page? I presume you have a valid reason, but consider
this
I've setup a dummy dr
Switch your box to a multiline textbox, maybe?
On Oct 29, 10:32 am, Adam <[EMAIL PROTECTED]> wrote:
> I have encountered a bug that I can reproduce in a simple test
> application
> that is constructed entirely in the designer within Visual Studio
> 2005, with
> not one line of code written by me.
You could use the option, instead of the
BoundField option.
Check here for more details.
http://authors.aspalliance.com/aspxtreme/webforms/controls/addinghyperlinkfieldstogridview.aspx
I'm still learning it and wouldn't be able to explain it in great
detail. The only other way I know of is
41 matches
Mail list logo