15,790,242 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ailiseu Brigitta (Top 44 by date)
Ailiseu Brigitta
7-Dec-22 4:38am
View
my doubt is how can i change (item.LastName )to (Item.firstname) by clicking the button i need to lastname as my default value
Ailiseu Brigitta
7-Dec-22 0:00am
View
sorry about that richard i got the answer so i didnt see the question i have posted
Ailiseu Brigitta
5-Dec-22 23:43pm
View
updated! can you please help me
Ailiseu Brigitta
5-Dec-22 8:23am
View
List<studentitem> studentlist = DataAccess.getallstudent(studentABC);
studentListView.ItemsSource = studentlist;
Ailiseu Brigitta
5-Dec-22 8:05am
View
my question is how can filter the student by student first name and display in a list
Ailiseu Brigitta
30-Nov-22 4:46am
View
sorry guys i have created the table in name EMPLOYEE_SITEID and called it by EMP_SITEID my fault but i don't know how to read the item {
EmployeeItem s_item = new EmployeeItem();
s_item.Id = query.GetInt64(1);
empdetails.Add(s_item);
}
Ailiseu Brigitta
30-Nov-22 4:32am
View
i retified the problem but sql is not reading
while (query.Read())
Ailiseu Brigitta
30-Nov-22 4:22am
View
i retified the problem but sql is not reading
while (query.Read())
Ailiseu Brigitta
30-Nov-22 3:32am
View
SQLite Error 1: 'no such table: EMP_SITEID'.
Ailiseu Brigitta
30-Nov-22 3:31am
View
i am getting error called no such table: EMP_SITEID'.
Ailiseu Brigitta
28-Nov-22 4:55am
View
i have updated my question
Ailiseu Brigitta
28-Nov-22 2:22am
View
public static async void Writeemployee()
{
var path = @"text file\\GetAllEmp.txt";
string rawJson = File.ReadAllText(path, Encoding.UTF8);
ObservableCollection<employeeitem> Employee = new ObservableCollection<employeeitem>();
var jsonData = JsonConvert.SerializeObject(rawJson);
List<employeeitem> emp = JsonConvert.DeserializeObject<list<employeeitem>>(rawJson);
for (uint i = 0; i < emp.Count; i++)
{
EmployeeItem s_Item = new EmployeeItem();
s_Item.SiteID = Int64.Parse(emp.ToString());
DataAccess.AddEmployee(s_Item);
Ailiseu Brigitta
28-Nov-22 2:21am
View
can i insert in a loop
Ailiseu Brigitta
28-Nov-22 2:20am
View
there is no way to insert a new object? is there is othere way to insert a data
Ailiseu Brigitta
18-Nov-22 5:24am
View
is that code is correct which i have wrote in the above question
Ailiseu Brigitta
18-Nov-22 5:23am
View
it is avilable
i took the path from the text file properties
Ailiseu Brigitta
18-Nov-22 4:18am
View
file can't be read which i have said in abve code sir
Ailiseu Brigitta
18-Nov-22 4:09am
View
apolozies for that i don't know about this
Ailiseu Brigitta
18-Nov-22 4:08am
View
apolozies for that i don't know about this
Ailiseu Brigitta
18-Nov-22 3:57am
View
i have done all but still error
Ailiseu Brigitta
18-Nov-22 3:51am
View
ok
Ailiseu Brigitta
18-Nov-22 2:45am
View
can you plese give more detail for public static List<string> Getemployee() { try { string rawJson = System.IO.File.ReadAllText(@"C:\Users\Admin\Desktop\new folder\xyz.txt"); List<employeeitem> employees = JsonConvert.DeserializeObject<list<employeeitem>>(rawJson); } catch (Exception e) { Console.WriteLine("The file could not be read:"); Console.WriteLine(e.Message); } Console.Read(); return null; } please sir you are my only hope
Ailiseu Brigitta
18-Nov-22 2:43am
View
Deleted
can you plese give more detail for
public static List<string> Getemployee()
{
try
{
string rawJson = System.IO.File.ReadAllText(@"C:\Users\Admin\Desktop\new folder\xyz.txt");
List<employeeitem> employees = JsonConvert.DeserializeObject<list<employeeitem>>(rawJson);
}
catch (Exception e)
{
Console.WriteLine("The file could not be read:");
Console.WriteLine(e.Message);
}
Console.Read();
return null;
}
please sir you are my only hope
Ailiseu Brigitta
18-Nov-22 1:50am
View
i saw the link my friend
Ailiseu Brigitta
18-Nov-22 1:37am
View
it 's ok grant no problem it is not must all to know all i understand
Ailiseu Brigitta
18-Nov-22 1:35am
View
can you create a sample project and run my code if there is no error i accept your solution is correct please don't send link just run my code with your solution
Ailiseu Brigitta
18-Nov-22 1:32am
View
ok i have gave you step by step detail and flow of code you are not providing detail. can you please send more details.
Ailiseu Brigitta
18-Nov-22 1:27am
View
C#string rawJson = File.ReadAllText("file path of the text file");
List<employeeitem> employees = JsonConvert.DeserializeObject<list<employeeitem>>(rawJson);
this one
Ailiseu Brigitta
18-Nov-22 1:23am
View
i still now can't solve my problem how can i mark it.your deserized method is not so clear for uwp
Ailiseu Brigitta
18-Nov-22 1:03am
View
its ok grant i still now can't resolve my problem :-( its ok thank you for the time you spend for me :-)
Ailiseu Brigitta
18-Nov-22 0:15am
View
where should i need to right observable collection , sorry i am new to c#
Ailiseu Brigitta
17-Nov-22 23:48pm
View
thank you very very much grant your code is working prety well but i can't print the data can you see my dataacess and find what erorr i have made
Ailiseu Brigitta
17-Nov-22 9:17am
View
how to deserize in my code
Ailiseu Brigitta
17-Nov-22 9:14am
View
can you correct my code
Ailiseu Brigitta
17-Nov-22 9:10am
View
ok [{"Id":5,"GID":1,"SID":34},{"Id":4,"GID":1,"SID":33},{"Id":3,"GID":1,"SID":32}] Please help me my friend
Ailiseu Brigitta
17-Nov-22 7:10am
View
please help me with this problem i have struck with this for 5 hours please :(
Ailiseu Brigitta
17-Nov-22 7:07am
View
this error occurs//A field initializer cannot reference the non-static field, method, or property (st); this st can't be read
Ailiseu Brigitta
17-Nov-22 6:54am
View
can give more details for the code
Ailiseu Brigitta
16-Nov-22 5:54am
View
ok can you help how to delete a post.just to know about it
Ailiseu Brigitta
16-Nov-22 5:03am
View
thank you
Ailiseu Brigitta
16-Nov-22 5:02am
View
can you help me how to delete this post
Ailiseu Brigitta
16-Nov-22 4:08am
View
ya i have already tried it and i convrted 84 table
Ailiseu Brigitta
7-Nov-22 1:34am
View
no need sorry for that OriginalGriff thankyou for your response
Ailiseu Brigitta
28-Oct-22 2:54am
View
thank you RickZeeland
Show More