How do I programatically find the GUID for the Sharepoint List View given that the name of the view is known. A user has to input the view name and the program should be able to spit out its GUID.
Thanks Momerath. I have been trying to use that page as a help before I posted here. No Luck! I have no idea how to implement it in my code and what libraries to import to make it work.
Well I figured it out. For anyone who might stumble upon this problem in the future. here's the solution :
SPWeb web = SPContext.Current.Web; SPList list = web.Lists["your-list-name"]; Guid viewId = list.Views["your-view-name"].ID; some_random_label.Text = "The view GUID is :" + viewId.ToString("B");
I have a datagridvied with several columns and one with date and the format is
Me.DataGridView1.Columns("Doopdatum").DefaultCellStyle.Format = "yyyy - MM - dd dddd"
Me.DataGridView1.Columns("Doopdatum").DefaultCellStyle.Format = "dddd dd - MM ...
i want to print a persian file by thermal printer..
i can print an english file esily..but i face the proble while printing persian text..
i think i ...
I am working on program that will connect to MySQL database, colect data from table and show them in grid. Where user can edit cell, and then on ...