|
Sabari MD
Application Developer
Veloxit Info Solutions
|
|
|
|
|
I got a problem while printing a text document in ASP.net with c#
I have to print a text by generating as user needed how much he needed to print for which i am willing to use loop and dynamic label.
I want good suggesion ad also how to print document longer than a single page document with long paper.
Plz help me as fast as possible.
|
|
|
|
|
Well, there are small things that you can do with @Media CSS element. Check W3School for all the things you can do.
From your code you can just open Print Dialog of the browser using Window.Print. You can make a Div and print a div as well. But Customization is totally depends on the User, I think. User have to specify the page size and all margins himself.
|
|
|
|
|
Hi all,
I have an old project that have to be integrated to a new one, the issue i encountered is about Globalization and Localization, the old project uses .resx files for local resources and the new project uses database to store resources.
Can i use database and resx files as resource storage at the same time? when the project share only one config?
if not, can anybody have an idea how the two ways will work? Or there's no other choice but to transfer to database all the items in the 50+ resx files?
thanks alot!
-ewin
|
|
|
|
|
Hello All,
how to remove item from viewstate i have two list box when i shift item from one list box to another list box using js then after that item display on view state so can you please tell me how to remove item from viewstate?
Thanks in Advance,
Anish Patel
modified on Thursday, July 16, 2009 5:14 AM
|
|
|
|
|
Hello,
i search for a WebDAV component. The component has to easily implemented in an ASP.Net 2.0 application in order to provide the data files which are kept in our application via WebDAV Clients.
Can someone guests, a component? It can also be commercially.
Sven
|
|
|
|
|
Hello every one,
i am using mysql as backend.I have install odbc driver.
but there is a problem in connection with data base the error is coming as following.
"DATA SOURCH NAME NOT FOUND AND NO DEFAULT DRIVER SPECIFIED".
please tell me about problem and also give me connection string .
|
|
|
|
|
Hi,
I guess your connectionstring is malformed.
Have a look here http://www.connectionstrings.com/[^]
There you can find the correct syntax for your connectionstring.
Regards
Sebastian
|
|
|
|
|
rinku soni 23 wrote: DATA SOURCH NAME NOT FOUND AND NO DEFAULT DRIVER SPECIFIED".
please tell me about problem and also give me connection string .
Please show us the connection string that you have used.
|
|
|
|
|
you can use the udl files to create a connection string and test the connection. Here [^]is a nice explanation about that.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Use MySql.Net Dll
use the Link to download
and Use the simple MySqlConnection Class. No need of odbc
using MySql.Data.MySqlClient;
MySqlConnection scoMainConnection;
scoMainConnection = new MySqlConnection();
scoMainConnection.ConnectionString ="Server=localhost;Database=dbName;Uid=root;Pwd=password";
scoMainConnection.Open();
|
|
|
|
|
how can i develop a program in aspx (C#) format and use it in php site?!!
i want to write a custom search box with C#, and use it in a php site!!
any help would be useful
Thanks
|
|
|
|
|
I am not sure of what you exactly want...
Do you want to communicate ASP.NET with PHP?
If so you can use Request object to send headers to call the PHP sites in the very similar way as you do other pages of your ASPX sites.
If you want to use C# as your Serverside script, I dont think its possible. If so I dont know.
|
|
|
|
|
I want to write a custom search box like google custom search to use in other site with any platform!!
how could it be done to use a C# or dotnet search box in php site?!!
|
|
|
|
|
you mean you want to create a Web Crawler like google that may crawl to any site...
Its not easy buddy. You need to capture every snap of a website.
|
|
|
|
|
Nafiseh Salmani wrote: to use in other site with any platform!
What do you mean by other sites? You want to search with in your web site or what ?
|
|
|
|
|
I have a wizrd control in my form. In one of the steps, there is one file upload control where the user needs to upload only PDF files. I have a validation for that and it works correctly.
The issue is, whenever the user uploads a word document or txt document, the validation message appears and then the user clicks on Next button instead of upload button, the textbox near the browse button clears automatically.
Is this the intended behaviour of upload control? Is it possible to retain the value entered in the textbox of fileupload control? Please help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
modified on Thursday, July 16, 2009 2:05 AM
|
|
|
|
|
Hai all,
I'm encrypting the password by using the code as below . Please tell me how to decrypt the same.Please help me..
#region Password Util
public static string HashPassword(string plainMessage)
{
byte[] data = Encoding.UTF8.GetBytes(plainMessage);
using (HashAlgorithm sha = new SHA256Managed())
{
byte[] encryptedBytes = sha.TransformFinalBlock(data, 0, data.Length);
return Convert.ToBase64String(sha.Hash);
}
}
#endregion
protected void btnSubmit_Click(object sender, EventArgs e)
{
bo.UserID = txtUserId.Text;
Password p = new Password(txtPassword.Text.ToString());
String newpwd = p.SaltedPassword;
System.Nullable<int> newsaltkey = p.Salt;
bo.Encryptpwd = newpwd;
bo.Saltkey = p.Salt;
bo.Password = txtPassword.Text;
passwordFormat = MembershipPasswordFormat.Hashed;
if (passwordFormat == MembershipPasswordFormat.Hashed)
bo.Blogpwd = HashPassword(txtPassword.Text);
else
bo.Blogpwd = txtPassword.Text;
|
|
|
|
|
Hash Algorithm are one way encryption.You can not decrypt what you can do,you can encrypt the text and then match with the encrypted one.If you require to decrypt the data then you can use other algorithms...
|
|
|
|
|
But i'm not getting the input password from user.ok let me look at some other option.
|
|
|
|
|
Hi,
You have asked this question so many times............
Answer is same HASH IS ONE WAY ENCRYPTION
himanshu
|
|
|
|
|
I havn't ask some many times.This is second time.First time i didnt get the expected answer.Thats y i post the same message again.Got it..
|
|
|
|
|
|
Thx Karthik.. I'll Check it out..
|
|
|
|
|
hi i hv a catalogzone in my page now every time when i clicked on catalog zone iam getting the dropdownlist and the controls to add the webparts.
now in the catalog zone the dropdownlist is comming very big .so how can i add style sheets to the catalog zone dropdownlist or
how can i hide the dropdownlist so that when ever click on add the control automatically add to the webpart zone
|
|
|
|