Hi All,
Can someone point out where I am wrong? I tried all sorts of debug, replaced with array to populate in my drop down and all works fine, except my below code.
DataTable dt = new DataTable();
dt = dataMyClient.GetAccountOwnerList(usrname);
DropDownList.DataSource = dt...
Thank you for all the time you spend here in replying.
For now I am going to use Lable control like you mentioned. But I would like to know more about JQuery. Have some knowledge on css and js. But I guess tahts not enough.
Also I had tried to change the css of Span in Server side. But i was...
Jason, I am sorry, I am just getting to know more in c#. Will you be able to tell me how do I do this in client side? I mean when the value of Bind("Closed_High") is > 0 i need to change the color.
Thanks.
Hi Jason,
Thank you for your reply/suggestion.
But I need to have the bind("Closed_High") to be displayed in Gray color and the text in black.
The output will look something like this
1[0]
if the first colum is >0 then red ,black, green, black color format.
else all in grey.
Is that still...
Hello Everyone,
Based on my previous post, I need some suggestion. I wasnt sure if I have to continue with the old post or create a new one.
I have a gridview which has the following TemplateField.
<asp:GridView id="grd" runat="server" OnRowDataBound="grd_RowDataBound">
<asp:TemplateField...
Thank you Jason for your reply.
Below is part of my Gridview :
<asp:GridView id="grd" runat="server" OnRowDataBound="grd_RowDataBound">
<asp:TemplateField HeaderText="Closed" SortExpression="Closed">
<ItemTemplate>
<asp:Label ID="lblClosed_Total" runat="server" Text='<%# Bind("Closed_Total")...
Hello Everyone,
I have a gridview, with both BoundField and TemplateField, both displaying values from a DataTable.
When I try the following code on OnRowDataBound property it works fine
foreach (TableCell cell in e.Row.Cells)
{
if (e.Row.Cells.GetCellIndex(cell) == 1 &&...
Hello Everyone,
I have the following tables:
Table A Table B
-------- -----------------------------
A_ID A_NAME B_ID APP_ID APP_NAME
1 10001 Name1
2 10001 Name1...
Hello,
Can someone please help me put this in place.
I have an external api that I am connecting to, to update some data (which is in XML format).
I have the following set of code to update the data
XmlElement ticket = doc["Ticket"]; // doc is xmldoc
foreach (XmlNode node in...
Sorry, I wasnt clear in my previous post, Table1 is from access. Those datas taht I have is in MS Access and Table2 is in my MS SQL.
Please ignore that I have two tables. Just the table1, and those are the sample data.
Let me know If I should paste my original table structure and datas?
Thanks
Hello Everyone,
I have two tables almost the same structure
eg: Table1 and Table2 both has the following fields along with couple other field.
Table1/ Table2
--------------
JNo Ono Source ClientId StartDate ......
1 1001 S1 2 01/01/2008 ......
2 1002 S3 2...
Hello All,
This is my first project and now I am stuck at sorting data grid.
The Data grid displays values from a stored procedure and the AllowSorting property of the datagrid is set to true. Its working fine for all the header text, except for one (Company Name).
Company name is a link <a...
I have a small web application developed in VB.Net.
But it gets signed out very often.
I have set timeout="720" in <sessionState> of web.config
But still it times out.
Any suggestion / help really appreciated.
Thanks.
Hi cpjust,
Thanks for helping me at the right time.
You mentioned if I convert to template I need to move all the code to .h file.
Can you please explain that. I mean which code i need to move?
Did u mean .cpp??
And do i have to keep AnimalControl class?
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.