User Profile

Collapse

Profile Sidebar

Collapse
Munawar
Munawar
Last Activity: Nov 15 '10, 07:28 AM
Joined: May 30 '07
Location: Lahore,Pakistan
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Munawar
    replied to Delete Session Record using C#
    in .NET
    Hi,

    If you are using a datatable as datasource to Datagrid.. then you can update database on the base of data which in the table because that is not edited. as you have not yet called DataTable.Accep tchanges (which commits changes to datatable)
    Thanks
    Munawar...
    See more | Go to post

    Leave a comment:


  • Munawar
    replied to VB.NET executing a sub in every 5 minuts
    in .NET
    Hi, Sure it is possible but not simple as in winform application.
    you can use threading or Timer to accomplish this task but the default timer would not let you achieve this functionality. for details please read this.

    Using Custom timer for Consol application

    Thanks,
    Munawar...
    See more | Go to post
    Last edited by Munawar; Oct 21 '07, 12:27 PM. Reason: Spell mistake

    Leave a comment:


  • Munawar
    replied to Hope it is an Idotic Question
    in .NET
    Hi,

    VB is programming language which was with added support of visual development. Sometime / some people alos call a tool because it is with full intigrated development environment (IDE) which in case of other languages is not integrated (like in java KAWA is used, for html, PHP and ASP Frontpage or Dreamweaver is commonly used)
    Hence VB6 is programing language but you can call a tool as IDE + IS very specific for VB6.
    ...
    See more | Go to post

    Leave a comment:


  • Hi,

    Please could you provide the complete code that you are using to run a process and to stop it?

    Because the code you have written gives no idea that what problem you are facing.

    Thanks
    Munawar
    See more | Go to post

    Leave a comment:


  • hi,

    The above link has a good way to accoplish the task but here is another possibility but would work if there is some id column;

    Delete all duplicate records ..
    select distinct will bring all the uniquie records and rest would the duplicate and will be deleted.

    Code:
    Delete * from YourTable where ID <> IN ( SELECT Distinct IDColumn from YourTable)
    Thanks,
    Munawar
    See more | Go to post

    Leave a comment:


  • hi, if you have windows applicationt then you can do that as following:
    lets suppose on form1 you have a button and on form2 has textbox

    you can make textbox public on form2 and then in form1 create instance of form2 and set the value of textbox

    in button click event write the following..
    Form2 f=new Form2()
    Form2.TextBox1. Text="hello"
    this.close()

    further you can...
    See more | Go to post

    Leave a comment:


  • Munawar
    replied to Subroutine 'sender' queries vb.net
    in .NET
    Hi,
    Here sender means the source of object (control from where event is called) .. its handy to get details of the caller ... like if the event is fired from dropdownlist .. then the sender is Dropdownlist .. you can get detailes about the caller on run time from Sender..
    e holds information about the event data.. like in case of Datagrid it provide information about the curent row you are going to edit or other operation.
    here...
    See more | Go to post

    Leave a comment:


  • Hi,
    Your master page has only one form tag and the content page has no form tag, Thats fine but the page you are redirecting to(checkout page) seems having more than one form tag.
    Kindly double check the page you are redirecting to for form tags.

    Even if you have more than one Form tag on an ASP.Net page it should work
    <form id="form1">
    <form id="form2">

    but...
    See more | Go to post

    Leave a comment:


  • Hi,

    Yes in C# you can get any public member of parent class by using keyword "base"

    Like here is scenario
    [code=c]
    public class MyParent
    {
    public string parentString;

    public MyParent() {

    Console.WriteLi ne("Parent Constructor.");
    }

    public MyParent(string myString)
    ...
    See more | Go to post

    Leave a comment:


  • The possibility for duplication could be one of the following, kindly check all these and let me know.
    1- Execute same query in Query analyzer and see if there is duplication in database
    2- Check if the the dataset is a page level member and you could be filling it at load as well as on button click. (mostly you could get this prob in web if you dont use IsPostBack property to check either the page is first time executing or posted...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...