Hello! I am have connected SQL management studio with my visual studio where I am making this hospital management system. I have set the PATIENT ID as the primary key in the SQL management studio. But when I am entering duplicate id, there is no objection being made by the code. What should I do...
Hello! In a window form, Patient id is being stored in both text box1 and textbox2. It is not storing the name of the patient in textbox2. Please help!
private void button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(@"Data...
I am making a window form database management system. When I click on the "Add staff" option, this error occurs System.Data.SqlClient.SqlException: 'Invalid column name 'id'.' on line number : 20
private void StaffInformation_Load(object sender, EventArgs e)
{
// TODO: This...
Hello! I am trying to open this project. It should automatically open the rest of cs files which are linked to it.
But when I open it my visual screen is blank.
So this is the update button code of my webform. Its giving this error at "comm.ExecuteNonQuery();" . How ever button1 which had insert operation showed no error with this.
protected void Button2_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data...
Hye, everyone. So I am following this video to implement the crud operations using c#.
I had a discussing here too and I did the changes as they said! Still, the error is there! Please help me!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.