- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I want to insert a dynamic string to a textbox that placed in a gridview as itemtemplate. On the code in which im adding information to the gridview, i want to create a line that'll insert to the textbox a dinamic information, but even "9" doent work. see it: [CODE]. … |
|
I'm trying to insert values into dropdownlist that placed in datagridview - itemtemplate dynamically. I'v typed: [CODE]DropDownList dd=(DropDownList)gridViewRowVar.FindControl("techniciansDDL"); dd.Items.Add("ddd");[/CODE] and there's a problem: System.NullReferenceException was unhandled by user code, and something like: The reference to the object had not been classified to the event of the object. The error is … |
|
Regards, I have a weird problem with a variable in asp.net + C#. Those lines work: [CODE=C#]DataTable customerDT = service.GetCustomerDT(1); dataRow["CustomerName"] = customerDT.Rows[0]["FullName"]; [/CODE] But those lines do not found anything even though the value of the variable is "1" too: [CODE]int customerID = int.Parse(gridViewRowVar.Cells[0].Text.ToString()); DataTable customerDT = service.GetCustomerDT(customerID); dataRow["CustomerName"] … |