|
use the following code to open a new window
window.open('pagename.aspx', '_blank');
If you want to open a window with specific size then use
window.open('Pagename.aspx', 'Help', config = 'height=800,width=1013,left=' + left + ', toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, directories=no, status=no');
Pankaj
|
|
|
|
|
hi,
I have made one stored procedure for adding and updating some data in the table "tbClients" .
I want to enter the current date in the column "PurchaseDate" Column using parameter "@PurchaseDate" while executing the stored procedure.
The query is something like"
exec Emp_Sp_AddnUpdate @ClientCreditId='0', @ClientId='12',
@PurchaseDate='12/21/2009',
@Amount='2000',
@Narration='This ia just an example',
@Credits='234.54';
In the above statement at the sql server 2005,
there is an error "Error converting data type varchar to int."
plz help
thank you
|
|
|
|
|
Well...
Remove the quote of all the integer fields. I mean if @ClientId is int field, place like @ClientId=12 .
Are you executing this in Query Analyser?
Also, Is it by any means related to ASP.NET ??
Why did you put it here?
|
|
|
|
|
Hi all,
I converted one web application(Vb.Net) created in VS2005 Framework 2.0 to VS2008 framework 3.5. (This application is using Reportviewer8.0) After convertion I cant build the application,always getting the below error.I use MSBuild to build the application,got the same result.The details of the versions I am using is given below
Visual Studio 2008 Version 9.0.30729.1 SP
MS Dotnet Framework version 3.5 SP1
OS windows XP
cd ..\..\..\..\
DeployMyProj.bat
'DeployMyProj.bat' is not recognized as an internal or external command,
operable program or batch file.
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: The command "cd ..\..\..\..\
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: DeployMyProj.bat" exited with code 9009.
Done building project "MyProj.vbproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If you have any queries please let me know.thanks
|
|
|
|
|
ebin roy wrote: 'DeployMyProj.bat' is not recognized as an internal or external command,
operable program or batch file.
Does this message suggest anything to you? Obviously this file cannot be found in the directory that you have just moved to; I would check your build commands.
|
|
|
|
|
Path is not perfect.
Check the current directory where you are in. cd ..\..\..\..\ should be relative to your bin directory.
|
|
|
|
|
Thank you guys! The problem was due to change of the folder.So I deleted the current solution file and created new the solution it works fine. Thanks
|
|
|
|
|
Hi,
Is there any method to generate multiple columns in a dropdown list(asp.net 2.0)
Waiting for quick reply
Known is a drop, unknown is an ocean
|
|
|
|
|
|
He has asked the same question before too. And I have provided him many useful resource, but I dont know why he asked the same question.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
LOL..!I didnt Know tht..!May be He is expecting the Exact answer with his database columns..! ..!
Wat abt the articles..!
Any thing New from You..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi Abhijit and sasidhar ,
Both of you send same resources. abhijit said that he send useful resources.it was good resource but not useful for me in this context.(till now).if it was useful why should i ask the same qn again? but i got that resource when i searched this qn in google page itself.if you dont feel bad try to solve this.Thanks for helping me.
With Regards
SreejithKumar M
NB:
www.easylistbox.com
This is also a good resource. Check out this .
Known is a drop, unknown is an ocean
|
|
|
|
|
Can anyone please help me the following:
1. How do I keep adding a substring to a string EACH TIME an user chooses a criteria (the substring) and presses a button? In my current website, I am only able to store this information in an session object or a label control, but can't get it to store in a code-behind variable.
2. Is there a way to remove a piece of substring from a given string?
For example, how can I remove "AND y < 60"
from
"WHERE x > 20 AND y < 60 AND z >10"?
I'd greatly appreciate any suggestions. Thanks.
|
|
|
|
|
|
1. you can't do it. when you click a button, the page refreshes and the code-behind variables' values are deleted. I recommend you to use the ViewState.
2. The best way is using Regular Expressions.
|
|
|
|
|
|
Hello all,
m searching for a component for converting an aspx page to downloadable pdf.
i find some stuff but it doesnt support utf-8 encoding " the aspx pages is in engish and arabic language"
i may also use it in dotnetnuke portal so if any body know any thing about this thing
i will be more happy to share it with me .
Thx in advance.
|
|
|
|
|
I have searched for this and can't seem to find my answer? Maybe I'm not typing in the correct words but I was wondering what type of encryption ASP.net 2.0 membership provider uses to store user passwords? Is it SHA256, SHA512? I know you can set it to reversible encryption where you can look at the passwords but I'm wondering what the default is?
|
|
|
|
|
|
Awesome! Thank you so much.
|
|
|
|
|
your welcome
Cheers!!
Brij
|
|
|
|
|
hi,
i want to open ms word and pdf file in asp.net..
ans also need word to pdf conversion.
plz give me solution for tat..
thanks
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
your question is not clear. If you want to open word or pdf file,the client system must have office and acrobat installed,asp.net will be helping in getting download those files on client machine and a dialogbox will be open asking opening/saving the file...
Can you bit more clear about your requirement?
Cheers!!
Brij
|
|
|
|
|
--Cross posts (not the first time)
--Wants the full solution; never gives any code.
|
|
|
|
|
I already ignored him.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|