Click here to Skip to main content
15,512,419 members

Comments by Sridhar Patnayak (Top 168 by date)

Sridhar Patnayak 17-Mar-14 6:43am View    
Check this

protected void Button1_Click(object sender, EventArgs e)
{
int a = Convert.ToInt32(TextBox1.Text);
int b = Convert.ToInt32(TextBox2.Text);
c=a + b;
label1.Text = Convert.ToString(c);
}
Sridhar Patnayak 12-Aug-13 8:22am View    
Why you require this functionality, Also it is not clear.
Sridhar Patnayak 9-Aug-13 4:11am View    
Md Mashkoor Ahmad is questioning, how to get sql server username and password, not from database, I think that's the reason it may be down voted.
Sridhar Patnayak 6-Aug-13 8:49am View    
This is not right way to answer the question. because it is not concept to read your links and implement. Just it is syntax issue.
Sridhar Patnayak 6-Aug-13 8:45am View    
Look at the code "K" is with in the try block now.