|
you already had the basic code for the stored procedure you need. Its just a set of IF's and UPDATES in sql
IF @val1 <> ''
BEGIN
UPDATE blah SET something = something else WHERE other stuff
END
In the old DataGrid Control there was a EditCommand event that you could use to set the EditItemIndex which changed a row from labels to textboxes or whatever other controls you wanted to use based on the edit item template in the aspx. you can use that event to get whatever value is in the cell that will contain the fileUpload control, if any...if its blank to begin with i dont see the harm in setting it to blank again. oh and you'd have to store the value from that cell in the session, viewstate, or some hidden label on the screen so that you'll have access to it when the user clicks update.
|
|
|
|
|
Ive tried googleing but cant find the right answer
Does anyone know why this would happen when Im using an rss feed
|
|
|
|
|
make sure port 25 is not blocked
Jon
Smith & Wesson: The original point and click interface
|
|
|
|
|
hi
i want to know how can i increment a variable that contain a character
for example i have a variable(fchar) that contain a 'c' and i want to show previouse and next character of this variable value.
what is that function?
thank you
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
sorry but i forgotten to say that i want to do this with javascript
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
Try this following function,
function GetAscii(c)
{
var car = c;
for(i=0;i<256;i++)
{
if(String.fromCharCode(i) == car)
{
if(i == 97)
{
alert(String.fromCharCode(i+1));
}
else
{
alert(String.fromCharCode(i-1)+','+String.fromCharCode(i+1));
}
}
}
}
This fucntion used to get pre and post characters of passing char.
smile
|
|
|
|
|
currently i m using asp.net with c# (.net 2005, 2.0 framework)
how to initialize DataColumnCollection??
DataColumnCollection tableColumns = new DataColumnCollection[10] { "hai", "hello" };
but i m getting the error "Cannot implicitly convert type 'string' to 'System.Data.DataColumnCollection'"
how to set these two "hai" and "hello"?
help me - KARAN
|
|
|
|
|
Karan_TN wrote: help me - KARAN
The class has no constructor so you can't create one. There will already be one where you want it like in a table etc. To add columns to it just follow the instructions in the documentation.[^]
led mike
|
|
|
|
|
|
Hi All,
I created a new site, got the domain set up, created the new entry in IIS for the site, set the ASP.NET tab under properties to version 2, but when I try to browse the site it is giving the following error in the application event log
It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.
I'm not an IIS guru, so any help will be appreciated
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
The error message is exactly what it says it is, you have two instances of the framework running it looks like.
Check that no beta versions are installed
|
|
|
|
|
Can you only have DotNET1.1 or DotNet2 on a server, not both?
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Got it working, had to change the applicationpool from default to dotnet2
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Hi All,
Allow date selection to begin only at the current date (today) and not allow (disable) selection of any of the days in the Field prior to today?
can you help me.
thanks in advance...
|
|
|
|
|
Hi All,
I have this problem that i could not solve for two days.I have tried to google and only with No luck.
I have tried to get the WEBDEV.WEBSERVER.exe file from a working machine.I have also tried to stop and start IIS.
However the error still comes Up. I am Running windows Xp.
Is there anything i can do please? Your help is much appreciated.
Thank you
modified on Tuesday, May 13, 2008 7:51 AM
|
|
|
|
|
If you are trying to debug your application and unable to connect to the web host server. Check if all the sessions are visible in the process window. Make sure you have set Debug="True" in the web.config file.
Finally cross check if you are running a website and have admin previleges.
|
|
|
|
|
Thank you very Much for your help.Its much appreciated.
I logged in as an Administrator and checked the Debug is set to true.I cant even run a page with out debuggig mode.
Its really a problem.Could you please advice me further???
Regards
|
|
|
|
|
hi guys
I have 2 gridview inside multiview controls.2 radio buttons
I want that one clicking on 1st radio button it shud show 1st gridview , one clicking 2nd radio button it shud show 2nd gridview.
on page load 1st radio button shud b selected and 1st gridview shud show.
I need javascript
with regards
ajay
|
|
|
|
|
|
hi guys
I have 2 gridview inside multiview controls.2 radio buttons
I want that one clicking on 1st radio button it shud show 1st gridview , one clicking 2nd radio button it shud show 2nd gridview.
on page load 1st radio button shud b selected and 1st gridview shud show.
I need javascript
with regards
ajay
|
|
|
|
|
Grid view gets rendered as table. Get the ID of the rendered gridview and in the onclick event of the radio button set the 'display' attribute of the table to none or block...use javascript to do this
.....
|
|
|
|
|
can we use remoting through java script?
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
You can make AJAX calls via javascript.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
In my ASP .Net web application, the customer has the following requirement. Whenever user tries to close the browser by using the X at the top (the hard close), I want to throw a message popup to user saying that they have not logged out of the application. Are you sure to close? And I want to give them Yes/No options so that if they click on yes, I will let them close otherwise the browser stays open. How can I acheive this?
|
|
|
|
|
check this...[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|