|
|
Thanks for all your reply..
I have a dropdownlist and i select one value and saves it in database and bind it into a grid..If i select the grid row i want to dispaly the saved dropdownlist data in the dropdown that it is been selected.how is it possible..Plz help me sending the code for rebind the grid data into dropdown..
|
|
|
|
|
Hi,
All what u have to do is, on RowDataBound, u must search for the dropdown box on that row and then make the database value as selected value for that drop down. this is the only solution
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Hi,
I want to convert a particular integer value into indian currency format.
I am using this particular code, but it is resulting in dollars. I want the output in rupees format.
int price = String.Format("{0:C}",1234567);
Thank you
|
|
|
|
|
I think you should set the culture as hindi (or your culture) before calling this line.
|
|
|
|
|
But Hindi or india is not available in regional settings
Any code from aspx page to do that.?
|
|
|
|
|
|
Before I get into SIlverlight, I could use getting ASP.NET up and running.
I am trying to write my very first ASP.NET program.
I wrote a simple "Hello World" program and when I clicked on the button to run the code I got
[IMG]http://i67.photobucket.com/albums/h292/Athono/debugenabled.png[/IMG]
But I figured that would be ok. I selected to "Add New Web.config file" and I clicked OK.
But then I got this error message:
[IMG]http://i67.photobucket.com/albums/h292/Athono/debugenabled2.png[/IMG]
Can anyone offer any suggestions?
|
|
|
|
|
Maybe the IIS is not set up to run asp.net ?
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 )
|
|
|
|
|
You may also post the error message here because there are some people like me who can't access photobucket from our office...
|
|
|
|
|
IIS was installed and started after the .NET framework.
This was the cause of some problems.
But I fixed it.
On the command line, I went to
C:\WINDOWS\Microsoft.NET\Framework\
and went to the directory of the latest version:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
and I typed
aspnet_regiis -i
the computer responded that it was installing ASP.NET
and now, my programs work.
|
|
|
|
|
Hi,
My table has primary key, but I still can't apply optimistic concurrency on it.
Does anybody know why?
I'm using Web Developer 2005 express edition
|
|
|
|
|
Hello All,
Thanks for reading this post. Here is my question.
One of the development teams in my company is building the company website using ASP.NET. My team is building an ASP.NET website which part of the website. My app is going to reside as an application folder inside the main app. Iam using forms authentication for my site.
One of the requirements is after performing login into the main site, if the user clicks on a particular link it should log the user directly onto my site as well(Single Sign On). However much I try, on clicking on the link on the main page, it always goes to the logon page on my application because of forms authentication. How can i use forms auth to sign the user into my application and go directly to the page. The user id is stored in a cookie. Can i create a basepage which actually does the forms auth and pages inherit from it?? I have explained the scenario in very simple terms and it is more complicated than this.
Basically this is what i want to do...lets say my site is www.abc.com
i log in...and reach page abc.com/A.aspx ...i click on a link which will needs to take me to abc.com/appFolder/C.aspx....but when I do this, I always go to abc.com/appFolder/B.aspx which is the login page for appFolder(forms auth).. plz help...sample code highly appreciated.
Thanks
RH
|
|
|
|
|
I have this problem too.
Can anyone help me?
I use Forms authentication and have 3 .aspx pages:
1) Login.aspx
2) Default.aspx
3) Another_one_page.aspx
I open my Login.aspx, succesfully log in and redirect myself to Default.aspx. But when I try to go to Another_one_page.aspx from Default.aspx:
Response.Redirect("~/Another_one_page.aspx");
my browser redirect me to the Login.aspx page.
And when I insert credentials into Login.aspx, I will be redirected to the Default.aspx page again.
So, the Another_one_page.aspx is fully unavailable.
Thanks for any useful information!
modified on Monday, April 6, 2009 3:57 AM
|
|
|
|
|
couple of things.
1.check if the forms auth cookie is being set after you login.
2. try response.redirect("Another_one_page.aspx",false);
|
|
|
|
|
I'm working upon a small project where I ask the user for there house number and postcode. I then want to automatically search for the users address so they can select the right one and save this to the database. Has anyone attempted anything similiar and if so could they describe the best way of going about this task. Any help is much appreciated. Also please note this is to only work with address in the UK.
Thanks
|
|
|
|
|
You would need to purchase an address database, unless you fancy compiling a list of all UK address yourself. At my company we use the Royal Mail Postcode Address File[^].
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi all,
I was wondering if it was possible instead of loading the reporting services report if you could just load it in the PDF format?
|
|
|
|
|
You haven't explained how you are requesting your reports. However SSRS exposes a number of web services that allow you to make requests to a report server programmatically. The ReportExecutionService class exposes a Render[^] method can be used to process a report and render it in a specified format.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Well I'm using The ReportViewer object, and it's a local report if this what you meant on how i am requesting my reports.
I will look into the Render method. Thank-You for your reply. And if someone knows a good site that would explain this render method that would be convenient.
|
|
|
|
|
I'm not aware of any other articles on the SSRS web services. However the MSDN documentation (see my previous link) tells you everything you need to know, including sample code. Set up a web reference to the web service and you're good to go.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi guys,
i made an asp.net application report, and it works wel but it can
not export to excel. It does export to pdf. there is an unhandled
exeption that says some font is missing, but i dont think so because
before that, we had the same problem with pdf and finaly we found out that the application didnt have sufficient right to the font folder, and when we gave it that it worked.
So this is becoming more stranger that it has only problem
with excel. the point is that on the development server all works perfectly and this problem we have only on test server. i searched a lot
and googled a lot, there are very few sources about this probem and if there is one, it is the problem with both excel and pdf, can anybody help?
is there any known issue about this?
any idea is welcome...
thanks very much
ceti
|
|
|
|
|
Why doesn't it export? Does it produce an error?
You need to provide more information if you want someone to help you.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Thanks Paul for your reply, the thing is that yesterday i was at home
and i couldnt send any error description, and surprisingly today without
me doing any thing the report works completely and no error to send to you.
but just for your information i will tell you a little bit more. I had 4
reports (one of which with graphic) and until yesterday morning (on test)
i couldnt export to neither pdf nor excel and also the graphic didnt work at all,...(we got the font missing error) anyway going to server guys we found out that application didnt have any right to read from the folder font of windows,...we gave the rights to it and all reports worked
plus all export to pdf, but no export to excel, for excel i got almost
the same error (font (?) missing) and it was very strange for me then because i had solved that very problem...(by now it was noon)
but until the end of day the export to excel just didnt work, and then
i posted this thread,...but this morning when i came at work export to excel worked to,....again thanks for your reply
ceti
|
|
|
|
|
I'm trying to update details view using dataset in C# codebehind. When i try to access OldValues and NewValues in ItemUpdating event, i get 0 count for both and also for keys.
How can i correctly get these values?
|
|
|
|