|
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
|
|
|
|
|
Hi i created a site its working fine...,
to my enduser i dont want to show my full url of the page...,
for ex:
my url is:
http://www.tester.com/memberpage.aspx
but i d like to show this exact url(my page name) followed by my site...,
how to do tht
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
|
Hi All!!
I am trying to display image from database on Asp.Net 2.0 Framework..But my problem is unsolved...The code is:
<br />
protected void Button1_Click(object sender, EventArgs e)<br />
{<br />
<br />
string connectionString = "provider=Microsoft.Jet.OLEDB.4.0;" + @"data source=D:\\image\db.mdb";<br />
OleDbConnection connection2 = new OleDbConnection(connectionString);<br />
string commandString = "Select Image from img where ImageCode = 1";<br />
OleDbCommand command2 = new OleDbCommand(commandString, connection2);<br />
connection2.Open();<br />
byte[] m_objBitmap = (byte[])(command2.ExecuteScalar()); ;<br />
connection2.Close();<br />
<br />
Bitmap BitmapData = BmpDataFromBitmap(m_objBitmap);<br />
MemoryStream ms = new MemoryStream();<br />
Response.ContentType = "image/jpeg";<br />
BitmapData.Save(ms,ImageFormat.Jpeg);<br />
ms.Close();<br />
<br />
}<br />
static public Bitmap BmpDataFromBitmap(byte[] BitmapData)<br />
{<br />
MemoryStream ms = new MemoryStream(BitmapData);<br />
return (new Bitmap(ms));<br />
}<br />
<br />
But i get error "Parameter is invalid" at line:
return (new Bitmap(ms));
I need your kind help..thanx!!
|
|
|
|
|
Is there a way to display checkboxes in a checkbox column in a gridview without defining the datafield? Without a valid datafield the checkbox is not displayed.
|
|
|
|
|
You can add whatever controls you'd like to the datagrid by handling the proper events, like ItemCreated, and inserting them into the row.
only two letters away from being an asset
|
|
|
|