Answer the question
In order to leave comments, you need to log in
Is createdby not outputting to checkedlistbox?
Hello. Who knows, tell me how to display createdby in the vknet library.
the date and the text of the post itself are displayed, but the name of the publisher is not.
var wallsearch = vk.Wall.Search(new WallSearchParams
{
Fields=GroupsFields.All,
OwnerId= -118780401,
Query = searchstring,
Extended = true,
Count=1
});
foreach (var items in wallsearch.WallPosts)
{
{
checkedListBox4.Items.Add(items.CreatedBy + "---" + items.Date + "---" + items.Text);
}
}
Answer the question
In order to leave comments, you need to log in
var item = $"{items.CreatedBy}---{items.Date}---{items.Text}";
// put debug point here
checkedListBox4.Items.Add(item);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question