|
Dear All
first of all (Happy New Year)
Now me problem is i want to create a website which is available in multiple language like.
hp.com
timex.com
Now what is the way i could achive the same. n many tutorials i found the solution for resource file, but i dont know the language other than English so i am unable to create file in other language.
So how could i create the multilanguage site.
Plz do reply
Regards
Yogesh Agarwal
|
|
|
|
|
You need to learn about Globalization in Asp.Net. And You have to also learn about global resources.
Check Here[^]
cheers,
Abhijit
|
|
|
|
|
Hi all,
iam getting the above error
OdbcDataReader objDR = objCmd.ExecuteReader();
if (!objDR.Read())
{
return false;
}
else
{
string storedHashedPassword = objDR("Password");
}
at this line
string storedHashedPassword = objDR("Password");
what iam doing wrong ?
Best regards
Rameez
|
|
|
|
|
else
{
string storedHashedPassword = objDR("Password");
}
should be
else
{
string storedHashedPassword = objDR["Password"].ToString();
}
modified on Thursday, January 1, 2009 3:16 AM
|
|
|
|
|
Try like this
string storedHashedPassword = objDR["Password"];
|
|
|
|
|
Try objDR["Password"].ToString()
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
meeram395 wrote: Try objDR["Password"].ToString()
Always practice to do a sanity checking as objDR["Password"] may return NULL and you will end up with NullReferenceException .
|
|
|
|
|
Thanks for reply,
iam getting an other error that Formsauthentication does not exist in curent context .
let me know what i have to do for this error .
Thanks in advance
Best regards
|
|
|
|
|
rameez Raja wrote: let me know what i have to do for this error .
Looks like you need a ASP.NET book.
|
|
|
|
|
ROTFL !!!
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
That's also known as a 'learn to program before taking a job as a programmer' error.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi all,
I build in a navigation system inside the TabContainer. So there are tabpanel in tabcontainer. tere are four tabs and I want to move to the next tab when i click on the button.
I am also using this code:TabContainer1.ActiveTab = TabContainer1.Tabs[1];
but it's not working
also use javascript:
function MoveTab(num)
{
var container = $find('TabContainer1');
container.set_activeTabIndex(num);
}
but no solution.
If u have any idea about this,pls suggest me.
Thanks
monika
|
|
|
|
|
|
Can u post a sample code.
|
|
|
|
|
string url = Server.MapPath("~/IDS/" + dr["RmtMLRAddressImg"].ToString());
image1.imageurl= url;
umerumerumer
|
|
|
|
|
what is coming on that page ? Try to check From View Source and check the image path on source file.
cheers,
Abhijit
|
|
|
|
|
mr_muskurahat wrote: string url = Server.MapPath("~/IDS/" + dr["RmtMLRAddressImg"].ToString());
image1.imageurl= url;
Try to use this:
string url = "~/IDS/" + dr["RmtMLRAddressImg"].ToString();
image1.imageurl = url;
Hope this helps.
|
|
|
|
|
mr_muskurahat wrote: string url = Server.MapPath("~/IDS/" + dr["RmtMLRAddressImg"].ToString());
Will return you string like D:\abc\IDS\123.jpg
This is not a valid path for web app.
Try Using
string url = "IDS/" + dr["RmtMLRAddressImg"].ToString();
image1.imageurl= url;
It will assign the relative path to image.
|
|
|
|
|
It's Very Bad to delete Messages !!!
cheers,
Abhijit
|
|
|
|
|
|
why u are using the path like "C:\\myimage\\2303.jpg"
Instead use a relative path, only then it will be displayed in firefox.
For eg: if your html file is in 'a' folder and images are in 'myimage' folder, and this folder is inside 'a' folder then path will be
Like
A>a.html
A>myimage>2303.jpg
<img id="0" alt="myimage" src="myimage/2303.jpg" height="100%" width="100%" />
|
|
|
|
|
Thanks for your kind reply.
But my html pages are in "C:\Program files" folder.
And images may be available on C drive or D drive.
So I need to give path like C:\myimage\2306.jpg or D:\myimages\2306.jpg
How I can give full path in "src" so it will work fine in mozilla.
Please give me a solution.
|
|
|
|
|
In this case use DREAMWEAVER for assigning the image paths to file.
I tried the same as you are doing. My HTML file is on desktop and Images are in D drive then the path generated is as
<img src="file:///D|/ShubhRishtey.com/Images/shubhrishtey_banner1.jpg" />
The above code works in Firefox. Try using this technique.
|
|
|
|
|
I don't think so unless somebody convince me.
you can easily crack any strong name assembly.
try ildasm *.dll /out=*.il
open *.il from notepad, remove public key section, then crack whatever you want
ilasm *.il
done!
Reflector is a nice tool to decompile *.il
|
|
|
|
|
What is reason to post this in asp.net forum as Question ?
cheers,
Abhijit
|
|
|
|