Click here to Skip to main content
15,891,725 members

Comments by 123456789shaik (Top 12 by date)

123456789shaik 26-Nov-14 11:14am View    
hi
how can i add a button to this datagridview
123456789shaik 26-Nov-14 8:13am View    
hi
Just now i have writen the code which u have given me
its working but
its not working for other fields to search and what query should i pass ? to search with other fields also
please help me ...
i have passed this query
query = query + " WHERE EmployeeName LIKE '%" + textBox1.Text + "%'";
query = query + " WHERE Salary LIKE '%" + textBox1.Text + "%'";

/// it is showing incorrect syntax the Keyword WHERE
123456789shaik 26-Nov-14 8:08am View    
hi
Just now i have writen the code which u have given me
its working but
its not working for other fields to search and what query should i pass ? to search with other fields also
please help me ...
i have passed this query
query = query + " WHERE EmployeeName LIKE '%" + textBox1.Text + "%'";
query = query + " WHERE Salary LIKE '%" + textBox1.Text + "%'";
123456789shaik 26-Nov-14 7:55am View    
Thank you Marcin

For helpng me...
Its working
123456789shaik 26-Nov-14 7:27am View    
hiIn this Screenshorts are not working so am writing the fields
I have Taken these fields both in database and datagridview

EmployeeID[pk],EmployeeName,EmployeeEmailId,OfficalEmailId,JoiningDate,Salary,RelevingDate


Showing empty datagridview