Good day,

I want to search something from my database.

my queries are working

            DataRow dr = PatientInformationBL.GetPatientSearch(new PatientInformation { firstName = txtFname.Text });

actually the GetPatientSearch is a method that is connected to my DAL. the codes returns no error but it displays in datarow.the result should be put in the gridview..

can someone help me regarding this..

thanks

Do you add the row to the grid view?

@Monerath nop. i dont add row to grid.all i want is to send the result to grid. since the result is in the datarow, i cant view the result in my page.

hope u can help me..

thanks

thanks.. i already solve the problem..

i jsut forgot to pass my value.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.