G
Guest
Hi,
I have an ASP.NET application using C# code. I am using a datagrid to
display records from a database based on a user input, i.e a user enters a
compnay name in text box & when he clicks a "Submit" button, only those
records are displayed where company name matches with user input.
I need the datagrid to be editable. For this i used the walkthrough from
..NET "Using a datagrid for reading & writing data to database" or it was some
similar name.
This code works fine when the datagrid shows all records but for the data
grid which shows only the records based on user input, this walkthrough
doesnt work. I think its bcoz i fill the dataset on "Submit" button click
rather than on page load. So when I hit the submit button after entering
Company name, I get to view records of that company. But WHEN I HIT the EDIT
LINK NEXT TO THE RECORD , I DONT SEE EDIT, UPDATE & CANCEL BUTTONS. I can
ONLY see those buttons when I hit submit again!!!
How to get over this?
I have an ASP.NET application using C# code. I am using a datagrid to
display records from a database based on a user input, i.e a user enters a
compnay name in text box & when he clicks a "Submit" button, only those
records are displayed where company name matches with user input.
I need the datagrid to be editable. For this i used the walkthrough from
..NET "Using a datagrid for reading & writing data to database" or it was some
similar name.
This code works fine when the datagrid shows all records but for the data
grid which shows only the records based on user input, this walkthrough
doesnt work. I think its bcoz i fill the dataset on "Submit" button click
rather than on page load. So when I hit the submit button after entering
Company name, I get to view records of that company. But WHEN I HIT the EDIT
LINK NEXT TO THE RECORD , I DONT SEE EDIT, UPDATE & CANCEL BUTTONS. I can
ONLY see those buttons when I hit submit again!!!
How to get over this?