User Profile

Collapse

Profile Sidebar

Collapse
talhaekram
talhaekram
Last Activity: Nov 14 '08, 06:32 AM
Joined: Apr 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • This type error occurs because of multiple same name CR dll in GAC assembly (c:\windows\ass embly).

    You just need to reference it correctly. You can use 'jump to definition' on Crystal report viewer class and through object browser you will get the path of dll. Go to that path and check the version. Since I have CR 2.0 as default so I decided to change my reference to CR 1.0 dlls

    I have extracted the dll 9.1.5000 of...
    See more | Go to post

    Leave a comment:


  • talhaekram
    replied to DataAdapter
    in .NET
    It will update all the changes made on dataset to the database table. It wont be updating other rows which are not changed.

    Update command only updates to the database, you need to use Adapter.Fill to display it.
    See more | Go to post

    Leave a comment:


  • talhaekram
    replied to error while running c# project.
    in .NET
    You need to remove this 'linq' refrence.
    Check for its appearance in your file namespace or app.config.
    Or probably you may have used some library whose source is not avaliable....
    See more | Go to post

    Leave a comment:


  • talhaekram
    replied to oops in .net
    in .NET
    <All code removed>

    And please use code tags if you have to post code
    See more | Go to post
    Last edited by r035198x; Sep 8 '07, 08:00 AM. Reason: Spoon feeding is against site rules

    Leave a comment:


  • talhaekram
    replied to dynamically populating treeview
    in .NET
    If it is a static database create xml file for your table like this:
    <department>
    <employee>
    </employee>
    </department>
    then map it to your tree.

    Other option is to parse the table to be fit in database.

    1> loop foreach record
    >if dept not found in tree
    >create dept node
    >create new treenode( empname, ..,navigation...
    See more | Go to post

    Leave a comment:


  • talhaekram
    replied to About Findcontrol
    in .NET
    TextBox tb = Form.FindContro l("textbox1") ;
    tb.Text = "abc";
    find control is used to get controls from web page....
    See more | Go to post

    Leave a comment:


  • Since Data grid follows a restrict format you cant add this control to datagrid view.
    Try making custom control for this purpose....
    See more | Go to post
    Last edited by talhaekram; Sep 8 '07, 05:59 AM. Reason: spelling error

    Leave a comment:


  • talhaekram
    replied to C# Database Connection coding
    in .NET
    [CODE=css]try
    {
    SqlConnection thisConnection = new SqlConnection(@ "...");
    thisConnection. Open();
    SqlCommand thisCommand = thisConnection. CreateCommand() ;
    thisCommand.Com mandText = "SELECT CustomerID, CompanyName FROM Customers";
    SqlDataReader thisReader = thisCommand.Exe cuteReader();
    while (thisReader.Rea d())
    {...
    See more | Go to post
    Last edited by r035198x; Sep 8 '07, 08:04 AM. Reason: Linking to other forums is against site rules

    Leave a comment:


  • talhaekram
    replied to How to make a HTTP request.
    in .NET
    HttpRequestResp onse objRequest = new HttpRequestResp onse("", "http://www.provider.co m/NUMBER=12345678 90&MSG=Test+Msg l");

    objRequest.PROX Y_PORT = 0;
    objRequest.HTTP _USER_NAME = "...";
    objRequest.HTTP _USER_PASSWORD = "...";
    objRequest.PROX Y_SERVER = "...";

    objRequest...
    See more | Go to post

    Leave a comment:


  • talhaekram
    replied to Sending Auto Triggered Mail in ASP.NET
    in .NET
    You need to create Windows service which activated after 15 sec.
    It checks the outbox table in database and after comparing senddate send the mail.

    MailMessage message = new MailMessage();
    message.From = new MailAddress("se nder@foo.com");
    message.To.Add( new MailAddress("re ciever@foo.com" ));
    message.Subject = "This is my subject";
    ...
    See more | Go to post
    Last edited by talhaekram; Sep 6 '07, 10:57 AM. Reason: settings needed

    Leave a comment:


  • Normally INSERTING DATE in Databases sometimes creates problem
    try follow the Default format ("mm/dd/yyyy") in insertion.

    Try debuging the SQL by writing SQL Insert script in Access with values that you get from Application.
    See more | Go to post

    Leave a comment:


  • talhaekram
    replied to treeview control of .net 2005
    in .NET
    To add a node in tree view:

    TreeNode node4 = new TreeNode("Inser t Files", "Insert Files", "", "~/AddFiles.aspx", "");

    node3.ChildNode s.Add(node4);

    To retrieve values:

    while (i < TreeView1.Nodes .Count)
    {
    if (TreeView1.Node s[i].Text == "Add User")
    value...
    See more | Go to post

    Leave a comment:


  • For storing variables
    Hidden variable access many becomes out of scope.
    so better use Cookie or Session
    e.g
    Session["optionSelected "] = e.value;

    on other page get this value.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...