Questions tagged [databound-controls]
55 questions
0
votes
2 answers
DataGridView cannot add rows as "control is data-bound" after XML load
I have populated a DataGridView from an XML file via loading to a DataSet. However, after I load the data I can no longer insert rows at run-time as I get this error:
"Rows cannot be programmatically added to the datagridview's row collection when…

tomdertech
- 497
- 1
- 9
- 27
0
votes
1 answer
Data Bound listbox selectedindex always -1
I've got a simple upload form. Here's my code:
Select Gallery:

slim
- 2,545
- 1
- 24
- 38
0
votes
1 answer
hide the repeated string in repeater
actually I am using a repeater control for showing some reports.
Cost…
![]()
Gaurav
0
votes
1 answer
I need to know how to avoid the System.Data.DataRowview in vb 2010I have an issue with my code; and would appreciate some assistance getting her to do what I want without an annoying error. Read the databound listbox strings, find the user selected string and write said string to a file.
Private Sub…
![]()
mauritaniawashin
0
votes
0 answers
How to use bind to apply some change to the databaseI'm Using Eval method in databound controls in ASP.NET.
The main difference between eval and bind is eval is read only, we can't change on database thing eval.
While using bind we can appply some change to the database.
Can you provide me an…
![]()
Tanya Samson
0
votes
2 answers
Nested Repeater - ItemCommand only fires if attached via markupI have a repeater nested in the ItemTemplate of a parent Repeater. I usually connect them to controls declaratively in markup.
![]()
immutabl
0
votes
1 answer
Why DataItem in my custom template databound control is null in ItemCommand event?Here is my custom control code:
namespace MyControlNameSpace
{
public class MyControlItemCommandEventArgs : CommandEventArgs
{
private MyControlItem _item;
private object _commandSource;
public…
![]()
Dabbas
0
votes
1 answer
Which page is my record going to be on?Interesting and I think a bit of a tricky one, but hey, I'm sure someone out there has faced and found a fix for the issue.
Anyways, the requirement is simple enough, but the solution not.
I'm using a standard ASP.Net Listview control with EF…
![]()
Fox
0
votes
2 answers
Is there a way to bind textboxes in a webform so the data is save as the user types in?I have in my webform many TBs bound to a property in the code behind:
|
---|