|
SwaSubhaVijju wrote: i am in interview of machine test...
Are you giving any exam?
Apurva Kaushal
|
|
|
|
|
SwaSubhaVijju wrote: i am in interview of machine test...
You are aware this is cheating, right?
Cheers,
Vıkram.
After all is said and done, much is said and little is done.
|
|
|
|
|
sorry i am not cheeting anyone...
they are providing me all facilities for search and do
i know i am a software engineer i wont cheet anyone...
|
|
|
|
|
Hi,
Go to your properties window of the datagrid, then go the events, there you would find the list of all datagrid events. You could select one as per your requirement.
Gautham
|
|
|
|
|
|
hi.........
how to get event in datagrid(when i press in cell of datagrid it should display alert message)
help me please......
|
|
|
|
|
Don't Cross post in Multiple Forums.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
i didnt get u what do u mean
|
|
|
|
|
You have posted the same question in the Asp.Net forum and also here .
Hope now you got it what i said.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Crikey! He's posting the same question in the same forum, just phrasing it different!
What a bastard!!
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
You're going to have to dive into javascript to display an alert message.
Basically you can handle the ItemDataBound event, find the control you want to display the message for using FindControl, and do yourcontrol.Attributes.Add("onclick", "javascript: alert('whatever you want to say');")
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
thanks....
but i didnt get u if possible clear once again
|
|
|
|
|
in my C# program,i input "at" in a textBox,then the program send "at" to serialport,but when i click receive button,the message I receive from serial port is the same as I input,namely "at",not "ok",why?who can answer my question?How I solve this problem and get the right response "ok" from serial port?
next is my code:
public partial class Form1 : Form
{
private SerialPort sp = null;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
sp = new SerialPort("COM1");
sp.ReadTimeout = 5000;
sp.Open();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void button2_Click(object sender, EventArgs e)
{
try
{
sp.Write(textBox1.Text);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void button3_Click(object sender, EventArgs e)
{
try
{
/*string text=null;
char[] buffer = new char[10];
sp.Read(buffer,0,6);
for (int i = 0; i < buffer.Length; i++)
{
text += buffer[i];
}
textBox2.Text = text;*/
/*string text = null;
char t = (char)sp.ReadChar();
text+=t.ToString();
while (true)
{
t = (char)sp.ReadChar();
if (t == '\0') break;
else text += t.ToString();
}
textBox2.Text = text;*/
string text = null;
byte[] t = new byte[20];
char[] c = new char[20];
sp.Read(t, 0, t.Length);
sp.Read(t, 0, t.Length);
c = Encoding.ASCII.GetChars(t);
int i;
for (i = 0; i < c.Length; i++)
{
if (c[i] == 'O' || c[i] == 'K')
text += c[i].ToString();
}
textBox2.Text = text;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
|
|
|
|
|
Hi All
Any one know how to retrieve outlook appointment using MAPI and C#
gihan koli
|
|
|
|
|
Get it[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
I have a enum with string values.I want to store all this in a string array.
And want to check with a parameter of a function with the string array.
can any body has the code in c#?
|
|
|
|
|
Did you read my reponse to your earlier post?
If you did, but didn't like it, try:
System.Enum.GetNames ( typeof(YourEnumTYpe) )
|
|
|
|
|
You waited all of two hours to post your question again?
saymajum wrote: I have a enum with string values.
What on earth does that mean? Enums can only have int (and related types) values.
Cheers,
Vıkram.
After all is said and done, much is said and little is done.
|
|
|
|
|
I have just started writing a vector graphics program with C#. I want to use the Graphics object's ScaleTransform to control zooming. I haven't got to that coding stage yet but I'm wondering if anybody knows how you would enforce bounds when the graphics are scaled. For example, while the mouse is dragging a shape, I want the location change to be canceled if the object would have been dragged out of the drawing bounds.
may your code be error free
|
|
|
|
|
I have a enum.I want to take a string array so that I can check with the enum values with the parameter of that perticular function.
Function AAA(string bbb)
{
String [] ccc ----------will store the enum values.
This values will be check with string bbb.
}
|
|
|
|
|
Try
System.Enum.Parse ( typeof(YourEnumType) , TheStringValueToTest )
|
|
|
|
|
how to write error handling in base page meaning first load page?
email me srpatel1172@yahoo.com
thank you
-- modified at 2:04 Wednesday 11th July, 2007
how to create error handle in master page?
|
|
|
|
|
Please clarify your question
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
I need my application to resize one of its forms when the user resizes the window of an external application (different process). It's been suggested to me that using Windows hooks is really the only viable way to do this.
There's just one problem: Apparently the callback that's executed when the hook is processed must be contained in a dll file if the thread/process that set the hook is different than the thread/process to which the hook is attached. From MSDN: "If the application installs a hook procedure for a thread of a different application, the procedure must be in a DLL."
So if my callback has to be contained within a dll, how do I get it to change properties on MY form??
|
|
|
|
|
Gosh! That's an intresting twist on cross posting.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|