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
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.
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.
actually what you want to do?
normally you use dll at server side, java script is client side technology.
Hi,
Use Firebug to find the problem. Its best way to debug JavaScript.
do in this way:
...............
Object x;
x = s.Pop();
ArrayList al=x as ArrayList ;
if(al!=null)
{
al.Add("Something");
}
...............
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
its done in flash. after developing map in flash, you can use any other server side technology php, asp or jsp
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.
there is a problem in following line:
string FileList = Directory.GetFiles(DirPath).ToString();
it should be :
String[] FileList=..............
Hi,
I think you need to use timer. Following urls might help:
http://www.c-sharpcorner.com/UploadFile/mahesh/WorkingwithTimerControlinCSharp11302005054911AM/WorkingwithTimerControlinCSharp.aspx
you can also use onload event of body tag, described as follows:
can you post code what you have done so far? where is current file?
i think u need to try IPC or socket programming.
Start by learning how ASP works.
:)
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.
install framework 2.0, it will have backward compatibility, but vice verse is not going to work.
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;
}
LOL chaitanya you are answering your own question. :)
Create a method as RamyMahrous said then invoke it using any UI thread. You can do it by control.BeginInvoke().
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.
use an image element insied the bigger cell:
<td id="large" width="222" rowspan="2"> <img id="img1" src=""/></td>
then set
document.getElementById("img1").src=image_fiele_name;
it will work
its better to do it at server side.
use counter, may be in a static class.
what you have done so far?
Welcome !!!
Nice to meet you.
So what do you do?
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?
Or, create a constructor in Form2 which take loginId String as parameter.
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.
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.
write a small web server or chat engine.
you can also write with very little capability.
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?
do you want to create tool for this? if yes then try using regular expression.
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().
is it question related to javascript? can you explain it more?
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.
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.
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.
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 :)
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").