I have a datagrid, each row contains 4 checkboxes columns and 2 text columns (customer type and customer name).
I need to use javascript to do some validation on the checkboxes.
The validation is when a checkbox is checked, then base on the customer type of that row, and go through all the rows...
I am getting this error message, "The client could not connect to the remote computer", when I try to remote desktop to another computer within my home network. The thing is it was working about a month ago, and I didn't remote desktop for a while, then now it doesn't work. I tempory disabled...
i have a customer object which has custID, custName, custAddress and I need to bind the customer collection to a datagrid. But I only want to show the custName, custAddress and a template column with a radio button for each item.
So when the form postback, how do i find out which custID...
can someone give me some guideline about when to add objects to either session, HTTPContext.Items, or Cookies?
What is the best practice on that?
Thanks in advance !
Vincent
i have a datagrid which allows paging, I am able to click on next page, and rebind the data and show up the next continue rows on next page.
But the problem is the rows are also selectable, when I click a select on a row, the selected row is actually the 1st page's row. Do I need to implement...
I need to create a sqldatasource which connect to SQL Server 7 using OLEDbDataSource. The select involves two stored procedures and each procedure takes a parameter.
My question is how do I pass in the two parameters to the stored procedures correctly?
I tried to add the following ...
If I have a gridview, can I bind two fields into one field like below:
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" Text='Customer is <%#Eval("CustID") %><%#Eval("CustName") %>'>
</asp:LinkButton>
</ItemTemplate>
I have a gridview which is bound to a sqldatasource and all the columns are sortable.
In the gridview, there is a column which the data is not coming from the datasource and I have to assign it on each databound event. The data is from Active Directory.
The problem is when I try to sort by the...
how do I do a join query within a same table?
I have a customer table which has "custID", "category" and "price" fields.
I need to query the table to return two different category's price base on the same custID.
I did a inner join but if I have 4 custid, it return 16 rows to me.
any thought...
is it possible to pass a + or - as a parameter in a stored procedure so that it can do something like below:
select price + '@PlusOrMinus' + @newprice from tblRateDetails where ID=@ID
Or I have to accomplish the task using if statement?
Thanks in advance.
I have a table which does not have an identity field.
When I need to update a row, I will pass in both old values and new values in the query to make sure I am updating the correct row.
If I have a gridview bind to the table, is there a way to update a row? Or I must add an identity field to...
I have a detailview which contain a checkboxlist.
THe detailview is bound to a datasource which do the insertion.
When I hit the insert button, how can I get each checked item insert in the database?
Thanks in advance.
I need to create a entry module to enter some text, then I need to parse the text on the backend. My problem is on the presentation layer.
I want the user can enter/select from a row field and then hit a "MORE" button, then a new row will display for another entry. Beside, the entry module does...
I have a nested Gridview within a Datalist. The Datalist consists of a linklist button for a membership number and the nested gridview display detail record of that member.
The problem is when i click on a linklist button all the gridviews within the datalist display the same record; not the...
is there a way to add textboxes into a placeholder control where the textboxes are not created on new line.
instead of :
textbox1
textbox2
textbox3
textbox4
show this :
textbox1 textbox2 textbox3 textbox4
Let say I have a GridView and databind to a list<int>, the gridview will display a column with the int on each row. Then I add another column to the gridview with a textbox on each row.
As below:
322 textbox1
833 textbox2
122 textbox3
Now, how can i display this rows horizontally as below...
hey, all
I am having a problem to serialize a complex object into xml, hope someone can help me.
To make it short, I have two objects: "Contract" and "Rate"
The Contract has a property of Rate object as a circular reference. When I use an XmlSerializer to serialize the Contract, the framework...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.