Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sd110404
  • Order by date
  1. sd110404

    Dropdown list not populating..

    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...
  2. sd110404

    Change Color - TemplateField - Text

    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...
  3. sd110404

    Change Color - TemplateField - Text

    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.
  4. sd110404

    Change Color - TemplateField - Text

    Should I include runat=server in my span control? As I need to change the color based on the Bind value? Thanks Again.
  5. sd110404

    Change Color - TemplateField - Text

    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...
  6. sd110404

    Change Color - TemplateField - Text

    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...
  7. sd110404

    Condition with TemplateField

    Sorry Jason, I didnt notice your reply when I posted mine. I will change my code based on your input. Thanks a lot.
  8. sd110404

    Condition with TemplateField

    Jason, Working!!! if (e.Row.RowType != DataControlRowType.DataRow) { return; } Label lbl = (Label)e.Row.FindControl("lblClosed_Total"); string strLbl; strLbl = lbl.Text; if (strLbl != "0") {...
  9. sd110404

    Condition with 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")...
  10. sd110404

    Condition with TemplateField

    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 &&...
  11. sd110404

    Syntax Error

    Thank you for all your valuable time. Please ignore the post, as I have found my query working fine. I was doing a wrong join. Thanks Again.
  12. sd110404

    Syntax Error

    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...
  13. sd110404

    HttpWebRequest Syntax for Post method.

    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...
  14. sd110404

    Query Help - must be a simple one

    Thanks Leslie, Tried your query, it works fine. Thank you.
  15. sd110404

    Query Help - must be a simple one

    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
  16. sd110404

    Query Help - must be a simple one

    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...
  17. sd110404

    Sorting with Hypertext values in Datagrid - pls reply

    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...
  18. sd110404

    Session Time Out

    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.
  19. sd110404

    Any Help - Urgent - Class Template

    thanks a lot, i put everything in my .h file and it works great.
  20. sd110404

    Any Help - Urgent - Class Template

    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?

Part and Inventory Search

Back
Top