3
Answers

Design issue in WInform

Hi,
 
I am using without cell or row header of datagridview in which i want to change more things 
how to change the some design of datagridview :-
>disable defalut cell selection(hightlight)
>when i click on cell its not selected but when click on cell text its selected (need to selecte on cell) 
Answers (3)
1
Manav Pandya

Manav Pandya

NA 7.1k 24k 7y
Hello
 
You can find snippets based on your requirement 
 
I have given few link , just go through it and you will understand properly 
 
Links :
 
http://www.dotnetcurry.com/windows-forms/132/csharp-datagridview-winforms-tutorial
 
Thanks 
1
Shefali Lahariya

Shefali Lahariya

NA 183 7.4k 7y
Hi,
thanks for suggesstion.
i need a code for winform application. 
1
Manav Pandya

Manav Pandya

NA 7.1k 24k 7y
Hello
 
For this kind of functionality , you should do some customization your own 
 
Please find below links for reference :
 
https://www.codeproject.com/Articles/13629/How-to-create-custom-bound-fields-in-GridView
 
https://docs.microsoft.com/en-us/aspnet/web-forms/overview/data-access/custom-formatting/using-templatefields-in-the-gridview-control-cs
 
https://msdn.microsoft.com/en-us/library/aa479316.aspx
 
Thanks