Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<dbItem> dbList = new List<dbItem>();
- public class dbItem
- {
- public string key;
- public string value;
- }
- private int FindIndexValueOfTitle(string bilonlineCol, List<dbItem> dbList)
- {
- //Leta igenom lista från BilOnlines databas för att hitta indexvärde för col titel
- return dbList.FindIndex();
- throw new NotImplementedException();
- }
- while (postReader.Read())
- {
- dbItem item = new dbItem();
- item.key = postReader.GetName(i);
- item.value = postReader.GetValue(i).ToString();
- dbList.Add(item);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement