|
Neat. I'd go with finding a parser; there are so many special rules, escape characters, etc. etc. etc. that it's a huge project to write your own. Let us know when you're done, though.
|
|
|
|
|
I have a localreport that show/hide columns according to a hidden parameter value which is set during runtime (this works fine). I want to resize the width of the report at the same time. Is this possible?
|
|
|
|
|
Call a C# Method in Javascript Code like this
"<%= PrintMessage(); %>"
Here PrintMessage is a C# method that is callend in javascript after validation.
Pradeep Sharma
|
|
|
|
|
Hi,
I had a project checked out from source safe onto my PC, and I am getting the following error:
Error 101 Could not load file or assembly 'Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Another lady has the same project on her PC and it works fine on her PC. As far as I know this reference is not used anywhere. I am using .NET 2.0, I have installed .NET 3.0 as well.
Please can someone get back to me.
Thanks
Brendan
|
|
|
|
|
Hello
i'm having trouble with the forms authentication of my site.
The site is a public site but it has an admin section which needs a login, i'm using Asp.net forms authentication which means that the files in the Admin folder, are protected.
When i run the site locally this works fine, but once the files are uploaded the user accounts don't seem to be valid anymore and i can't login.
I'm not sure why this is and was wondering if anyone could help.
|
|
|
|
|
Have you copied or setup the database also?
only two letters away from being an asset
|
|
|
|
|
I set up the database using aspnet_regsql.exe and it is on the server's sql server. I have connected to it in the web.config file. And when setting up the users they ae set up in that database.
I think the problem is the application name of my project being used during the setting up of users i'm not sure it is the same when online so thats why its not finding the users, but i'm not sure how to change this.
|
|
|
|
|
I was just wondering, what if the physical database on the sql server is changed...like changing some field names and types of tables, I guess the all the stored procedures created through the xsd file will be useless..right and I'll have to rewrite them again??
I think this is stupid...what would be the solution to this problem?
|
|
|
|
|
Exactly...
This is why I never use typed datasets in 2.0 or higher. If you're going to take the time to create an xsd for your data object then you may as well make class objects and use generic lists to bind to controls.
I didn't get any requirements for the signature
|
|
|
|
|
You should have a look at a decent ORM tool, or if you're on .net 3.5, possibly the LINQ to SQL mapper.
|
|
|
|
|
Yup, and using an ORM tool your code will break at compile time rather than after you've deployed it to your big clients
|
|
|
|
|
Hello
I have a dropdown list on which postback is happening.
I am filling a dropdown below that. the problem is i am not able to set focus to either of the dropdowns.
any suggestion
Regards
|
|
|
|
|
You'll need to do it with javascript. Use ClientScript.RegisterStartupScript and something like myDdl.ClientId + ".focus();"
|
|
|
|
|
When I compile my ASP.NET website in Visual Studio, it does not give me any file/line information for the errors. Thanks to this, I cannot know where these errors even are.
How can I make it show error locations?
------ Build started: Project: C:\...\Veebileht\, Configuration: Debug .NET ------
Validating Web Site
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0103: The name 'KasutajaõigusteSüsteemiKonfiguratsioon' does not exist in the current context
(0,0): error CS0246: The type or namespace name 'StruktuuriElement' could not be found (are you missing a using directive or an assembly reference?)
(0,0): error CS0103: The name 'StruktuuriElement' does not exist in the current context
Validation Complete
|
|
|
|
|
Have you looked in the errors window?
|
|
|
|
|
Yes. There are no filenames or line numbers there, either.
|
|
|
|
|
It looks like you're missing a reference - have you checked those?
|
|
|
|
|
I know what the error is but what I want is to see the filenames and line numbers on compile.
|
|
|
|
|
on this control i need only doc and excel files to be seen. that is other files are filtered out.
|
|
|
|
|
just take a file uploader control and give the if condition that if the fileuploader.postedfile.extension=".doc" andalso fileuploader.postedfile.extension="xls" then
'ur code
else
invalid type
end if
|
|
|
|
|
I just answered this, didn't I ?
The ASP.NET control is going to render an input type="file", so any attributes that work for that control, will work in the .NET one, they just get passed through.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
its not working.Please elaborate this . i could not get this.
|
|
|
|
|
As CG told you can't add filter to the file upload control. You can check the file extension and content type before you save the file to the server. Is this enough for you ?
|
|
|
|
|
Hi
I m new biew to asp.net.
I wanna use Adrotator in my page which shows the images from database
(Means the url of image is stored in database and images is saved in a folder)
For it i simply retrived all image url in dataset and bind it to the adrotator but it not worked properly
Show me the currect way to do it Plz
Thanks with anticipation
|
|
|
|
|
What does 'not worked properly' mean ? How about showing us your code and telling us what happened, so we can work out what your error is ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|