Forum: ASP.NET Aug 28th, 2009 |
| Replies: 14 Views: 1,591 And do you mean looping through the resultset returned that is returned from the database or looping in sql statement. |
Forum: ASP.NET Aug 28th, 2009 |
| Replies: 14 Views: 1,591 I copied and run your code on my computer. It works fine on my computer may be your database doesn't consist of data which is extracted on the basis of filter from dropdownlist. |
Forum: ASP.NET Aug 28th, 2009 |
| Replies: 14 Views: 1,591 what exactly are you referring to. You already got your gridview filled with the record's based on the filter value from the dropdownlist.
Are you looking for looping in sql or in c#.
Sorry... |
Forum: ASP.NET Aug 25th, 2009 |
| Replies: 14 Views: 1,591 Above code is very simple. If this is not the thing you want. Cheer up man, just let me know. I have other options as well. |
Forum: ASP.NET Aug 25th, 2009 |
| Replies: 14 Views: 1,591 If you want to display the item in gridview with the item selected in dropdownlist on selected index change of dropdownlist, then here is your code to do this.:)
First declare a dropdownlist and... |
Forum: ASP.NET Aug 25th, 2009 |
| Replies: 14 Views: 1,591 Do you want selected item in the dropdownlist to be displayed in the gridview or fetch some item from a data source based on the selected item in the dropdownlist and display it in the gridview. |
Forum: ASP.NET Aug 14th, 2009 |
| Replies: 1 Views: 1,451 You question is not clear. Please be precise.
To check multiple check boxes you must have it at first. But i don't see it in your code. If you try to check multiple check boxes with the same... |
Forum: ASP.NET Aug 5th, 2009 |
| Replies: 6 Views: 419 Well, checking length in asp.net is not quite easy. But you can restrict user from entering characters more that allowed limit.
set the MaxLength property of textbox to the number of characters... |
Forum: ASP.NET Jul 30th, 2009 |
| Replies: 3 Views: 776 Then i guess you have written wrong SQL Statement to extract the deliveryboy names in this part of the code as you have written:
SelectCommand="SELECT [StaffID] FROM [StaffRegis_Table] where... |
Forum: ASP.NET Jul 29th, 2009 |
| Replies: 3 Views: 776 From where are you supposed to provide the value for Where condition i.e @designation for the SqlDataSource of DropDownlist. Giive it a thought.
I am online now, i can help you immediately.
... |
Forum: ASP.NET Jul 29th, 2009 |
| Replies: 4 Views: 471 so make the textbox readonly and it will be readonly
simple isn't it |
Forum: ASP.NET Jul 27th, 2009 |
| Replies: 4 Views: 471 use EditItemTemplate and in the EditItemTemplate make only the field you want editable as editable . for the rest use labels to show the fields or readonly textboxes.
<FAKE SIGNATURE>
A Software... |