DapperLib / DapperLib/Dapper

Can't Adding new empty row to GridView with Query<dynamic>()

Open
#1,565 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
18.4k
Forks
3.7k
Avg merge
5h 8m
Merged PRs (30d)
1

Description

Using BindingList with Query("SELECT * FROM Table");
Then bind it to gridview, but using BindingList.AddNew() never works..

I think if you can please support Empty Dapper Row insertion like this
ICollection.CreateEmptyDapperRow() // Maybe extension method or something.

Or is there any alternative solution for that please?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reproducing the behavior with BindingList, Query("SELECT * FROM Table"), and BindingList.AddNew(); then determine whether empty-row creation belongs in the API or requires documented alternative usage. Done means the requested insertion behavior is clearly supported and tested, or the supported alternative is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.