Click here to Skip to main content
15,921,716 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have created a table

C#
DataTable dt= new DataTable();

dt.Columns.Add("bagno", typeof(int64));
dt.Columns.Add("result", typeof(string)));


gridVirw.datasource=dt;
gridView.databind();


MY question is now i have to filter data in the grid view based an result and sent the data to the database
Posted
Updated 10-May-13 1:10am
v2
Comments
ZurdoDev 10-May-13 8:05am    
Are you wanting to filter the data and show it to the user or do you want to send it to the database. These seem like they don't go together.

1 solution

In the answers to this asp forums post[^] there are several links to help with filtering gridviews. If the method you want to use isn't covered there then try a google search with "asp.net filter gridview".
For the part of your question about sending the data to the database then the MSDN documentation[^] is a good place to start and there are futher ideas at this codeproject post[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900