|
No its not working. Again its showing same error.
|
|
|
|
|
Did you made this entry on web.config ?
<Identity Impersonate='true'/>
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I have not made it and i don't know where to made.
the below connection string in aspx.cs
SqlConnection con = new SqlConnection("Data Source=localhost\\sqlexpress; Initial Catalog=Barani; Integrated Security=true;");
the below connection string in web.config
<connectionStrings>
<add name="BaraniConnectionString" connectionString="Data Source=BI03\SQLEXPRESS;Initial Catalog=Barani;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
|
|
|
|
|
Can anyone help me in creating RichTextBox in ASP.NET? I see an article in Codeproject.com but it is simple! i want an article or book for create Pro Rich Text Box
Something like this Picture
[]D @ []v[] []D @ []v[]
|
|
|
|
|
RichTextBox in web requires great knowledge on Javascript. I have once tried to create one RichTextBox myself. Its working but never used it anywhere.
Its always better of use free existing RichTextEditors , as they are mostly tested and better in performance.
|
|
|
|
|
Thanks for ur reply! Where Should i find RichTextEditors ?!
[]D @ []v[] []D @ []v[]
|
|
|
|
|
|
pampam110 wrote: Where Should i find RichTextEditors ?
Are you using AJAX Toolkit?
You can have a look into AJAX HTML Editor.
AJAX HTML Editor[^]
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Thanks Man. But i Face to another Problem ...
I try to Adding the AJAX Control Toolkit to the Toolbox as shown in this page:
Get Started with the AJAX Control Toolkit : The Official Microsoft ASP.NET
But it send me an error when I Select my AjaxControlToolkit.dll!
The Error is : There was an error loading types from assembly 'C:/Program Files/....../AjaxContolToolkit.dll'
'Could not load file or assembly 'System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, ..... or one of its dependencies. The System cannot find the file specified.'
Any Idea again?
[]D @ []v[] []D @ []v[]
|
|
|
|
|
Abhijit's suggestion is good enought,so just explore it.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Blue_Boy wrote: I Love T-SQL
As your signature says you love T-SQL, I have an smll request to you,
I have taken an small initiative over here,
Most Commonly Used Functions in SQL Server 2005/2008[^]
I would like to collect all the most commonly used SQL Server function under a single article. I gave permission to all of Silver and above member.
If you have some times, I would expect some contributation from you !
Thanks in advance !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi Abhijit.
Your article is usefull and sure I will try to find free time to append more in your article.
Currently I am much busy with my actual project and I hope soon I will get free days and I will write some more for your article to be more rich.
Regards.
P.S. My pleasure to work with developer like you.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Thanks you so much ! Hope to see your contribution soon.
Thanks Again !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I want that value of textbox to be converted into base64 string so that i can sent it to another page as encrypted username from response.redirect....what i used
<code>Convert.FromBase64String(textbox1.Text);</code>
how to save this converted value and in what data type...and i want it converted into string so that i can send encrypted code to another page and then decrypt it and again save it as string.....please suggest any easy way.....
|
|
|
|
|
Use this Code below
string str = textbox1.Text;
string encstr = Convert.ToBase64String(System.Text.Encoding.Unicode.GetBytes(str));
string decstr = System.Text.Encoding.Unicode.GetString(Convert.FromBase64String(encstr));
encstr represents the base64 encrypted string which you can pass between pages, and decstr is the string decryption.
|
|
|
|
|
THNX!!!! alot i got my problem solved...but please could you explain it....i can't understand the use of ascii encoding then base64 string use....
|
|
|
|
|
Well,
Convert.ToBase64String takes a byte array. You need to convert your string to Byte array. You can do it using a for loop and create the Byte array yourself. System.Text.Encoding.Unicode.GetBytes does it for you.
On the contrary, the reverse is Convert.FromBase64String returns a byte[] , so again you need to convert Byte array into string. System.Text.Encoding.Unicode.GetString does it for you .. .
Hope this help you.
|
|
|
|
|
Thnx lol i got it....
|
|
|
|
|
If that answered helps you, then Please don't forget to Click on Good Answer
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
it is known that some text size in the webpages will be changed by changing textsize in the view menu in the internet explore setting.
I want to know is it possible to fix the text size (e.g. label), which is not changed by the textsize setting in the explore?
if so, and how?
thanks.
|
|
|
|
|
Why would you want to do this? The point of having the option to change font sizes in the browser is to allow the user a choice. It isn't a good design to take that choice away. Instead you should make your layout flexible enough the handle the change.
only two letters away from being an asset
|
|
|
|
|
I want to display an image with its width to the computer screen width.
anyone can give me one hint how to do?
thank you.
|
|
|
|
|
use javascript screen.width / screen.height .
you can set img.width and img.height
|
|
|
|
|
thanks, but I do not know how to embed javascript into ASP.net
can you give me one example for this?
|
|
|
|
|
<script type="text/javascript">
function initialise()
{
var imgcontrol = document.getElementByID('yourimgid');
imgcontrol.style.width = '100%'
...
...
}
</script>
<body onload="initialise();">
...
do like this in your designer.
|
|
|
|