DangerDev 107 Posting Pro in Training

Hi,
I want to connect with MySQL database form c#. Please suggest me best way to do this.
Thanks.

DangerDev 107 Posting Pro in Training

do u know VB .NET? if yes then you just have to add web service you want to call. And then you can write small utility to do the work you are trying to do.

DangerDev 107 Posting Pro in Training

actually what you want to do?
normally you use dll at server side, java script is client side technology.

DangerDev 107 Posting Pro in Training

Hi,
Use Firebug to find the problem. Its best way to debug JavaScript.

DangerDev 107 Posting Pro in Training

do in this way:

...............
Object x;
x = s.Pop();
ArrayList al=x as ArrayList ;
if(al!=null)
{
 al.Add("Something");
}
...............
DangerDev 107 Posting Pro in Training

you can try something like this:

bool isToZip=true
String sourceFileName="file name";
String destinationFile="destination file name";
while(isToZip)
{
      //1.un zip source file to destinaion file, i.e. sourceFileName
      //2. get destination file,i. e. destinationFile
      //3. if destination file is ziped one, sourceFileName=destinationFile
     //4. give new destinationFile
}

i have just given a hint, it should work

DangerDev 107 Posting Pro in Training

its done in flash. after developing map in flash, you can use any other server side technology php, asp or jsp

DangerDev 107 Posting Pro in Training

Hi,
Read example here. It will help you. You have to call dataReader4.Read() before reading it. If still problem persist please post code what you have done so far.

DangerDev 107 Posting Pro in Training

First, one should know the answer to reply here.Second if some body replies without having clear idea what he is dealing with, it would add confusion to the person who is asking question.

DangerDev 107 Posting Pro in Training

there is a problem in following line:
string FileList = Directory.GetFiles(DirPath).ToString();

it should be :
String[] FileList=..............

DangerDev 107 Posting Pro in Training

Hi,
Using standard .NET classes you can zip/unzip only one file. as explain here.
You may like to look here, for folder zip unzip(multiple file zip/unzip).

DangerDev 107 Posting Pro in Training

Hi,
Try to use Server.Transfer("http://a.b.com/1.wav")

DangerDev 107 Posting Pro in Training
DangerDev 107 Posting Pro in Training

you can also use onload event of body tag, described as follows:

http://www.w3schools.com/jsref/jsref_onload.asp

DangerDev 107 Posting Pro in Training

can you post code what you have done so far? where is current file?

DangerDev 107 Posting Pro in Training

i think u need to try IPC or socket programming.

DangerDev 107 Posting Pro in Training

620

DangerDev 107 Posting Pro in Training

Start by learning how ASP works.

:)

DangerDev 107 Posting Pro in Training

form your query dynamically:

... where ResultDate =" +selected_date;
here selected_date is date selected by the user in date time picker.
one more thing before preparing the query dont forget to format the date, as it is stored in data base.

DangerDev 107 Posting Pro in Training

install framework 2.0, it will have backward compatibility, but vice verse is not going to work.

DangerDev 107 Posting Pro in Training

return true or false from WPChk() based on success or failure,
on the base of return value of WPChk() you decide whether you want to proceed further or not. ex:

if(WPChk())
{
//do this
}
else
{
//return;
}

DangerDev 107 Posting Pro in Training

LOL chaitanya you are answering your own question. :)

DangerDev 107 Posting Pro in Training

thank you for your responses thus far

however, is there any chance some one can show an example what goes inside the BeginInvoke(here)??

Many Thanks

check this.

DangerDev 107 Posting Pro in Training

Create a method as RamyMahrous said then invoke it using any UI thread. You can do it by control.BeginInvoke().

DangerDev 107 Posting Pro in Training

i tried with Hindi letter its working:

class सुचना_दो
    {
        private String _नाम = "सुचना_दो";
        public String अपनी_सुचना_दो()
        {
            String सुचना = "मेरा नाम "+_नाम+" है, मुझे फलक ने लिखा है !";
            return सुचना;
        }
    }

its working with it coz, it can deal with unicode characters.

DangerDev 107 Posting Pro in Training

use an image element insied the bigger cell:

<td id="large" width="222" rowspan="2">&nbsp;<img id="img1" src=""/></td>

then set

document.getElementById("img1").src=image_fiele_name;

it will work

DangerDev 107 Posting Pro in Training

its better to do it at server side.

DangerDev 107 Posting Pro in Training

use counter, may be in a static class.

DangerDev 107 Posting Pro in Training

what you have done so far?

DangerDev 107 Posting Pro in Training

Welcome !!!
Nice to meet you.
So what do you do?

DangerDev 107 Posting Pro in Training

This may help you.

DangerDev 107 Posting Pro in Training

according to your query above suggestion seems ok, but i think you wanted to ask " suggestion in dropdown box, as it is in google suggesion", isnt it?

DangerDev 107 Posting Pro in Training

Or, create a constructor in Form2 which take loginId String as parameter.

DangerDev 107 Posting Pro in Training

Hi,
Use TreeView.AfterSelect event to fill the Grid, it gets fire when node has been selected. Here you can assign the data associated with selected node, to the GridView.

DangerDev 107 Posting Pro in Training

you can also assign DataGridView's DataSource property any data source like dataTable it will take care of creating required column and filling data.
Try out any of the solution given here in thread, and if any problem get back. If you will tell what so far you have done as LizR told, it will be helpful for us to understand your problem.

DangerDev 107 Posting Pro in Training

write a small web server or chat engine.
you can also write with very little capability.

DangerDev 107 Posting Pro in Training

Hi,
Can you be more specific? What exactly you want to do?
Please also provide information that what you have done and where you are facing problem?
If you are looking for internet programming in .net, this may help you?

DangerDev 107 Posting Pro in Training

Hmmm...
Then learn it, it will be useful in your application. Its not that tough. Here is link to ajax tutorial.

DangerDev 107 Posting Pro in Training

without ajax it will be no more a chat application, because using ajax you will be sending data to server in background. why you dont want to use ajax?

DangerDev 107 Posting Pro in Training

do you want to create tool for this? if yes then try using regular expression.

DangerDev 107 Posting Pro in Training
DangerDev 107 Posting Pro in Training

use
System.Diagnostics.Process.GetProcessesByName(processName);
to get all the process with this name. After this use the process properties like, process.ModuleName etc. to get the required process, then kill the process by calling function process.kill().

DangerDev 107 Posting Pro in Training

is it question related to javascript? can you explain it more?

DangerDev 107 Posting Pro in Training

start with understanding comet.
let say user1 wants to chat with user2. now flow will be like this:
1. user1 will type message and send it - this you can do by simple http ajax request, send message to server using ajax.
2. now server will get message from user1 and send to user2, here lies the problem, for this, you need to use server push technology. for which i have given the article above.
3. message will be shown to user2.

Note: here i have not mentioned the complexities involve in signing in by user1 and user 2, creating account etc.

DangerDev 107 Posting Pro in Training

You can not refresh the div element alone. You can make the require change in div element, dynamically using JavaScript, which is like refreshing the div.

DangerDev 107 Posting Pro in Training

following discussion may help you.
http://www.groupsrv.com/dotnet/about147910.html

DangerDev 107 Posting Pro in Training

Hi,
"SaveAs" has not been implemented in Mozilla, it will work in IE by interfacing via ActiveX.
See the document.execCommand reference. here

DangerDev 107 Posting Pro in Training

Hi,
define a new array with function: arr3=new Array(no_of_element);
then use for loop to populate member of both array in to it as u want.

use arr_var[index] to access individual member of array.

DangerDev 107 Posting Pro in Training

one more thing no two element can have same id.

now problem in logic:
just check

if(str==i){
i=i+1;

....isn't it should be in circle, i.e. after 2 again 0 should come, i am just giving a clue :)

DangerDev 107 Posting Pro in Training

first problem i see is you have not defined a id property for radio button,
you can not get an element of name say "name1" by function GetElementById("name1").