User Profile

Collapse

Profile Sidebar

Collapse
uday1302
uday1302
Last Activity: Jan 30 '10, 09:43 AM
Joined: Mar 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • uday1302
    started a topic Error: A Generic Error occurred in GDI+

    Error: A Generic Error occurred in GDI+

    Hi Dear,

    Here I am trying to upload a photo.

    Code:
    protected void LoadImage()        {
                string UserName = Session["UserName"].ToString();
    
                byte[] Data = Profile.GetImageData(UserName); //Stmt Correct where profile is class
               
                if (Data != null)
                {
                    MemoryStream stream = new MemoryStream(Data);
    ...
    See more | Go to post
    Last edited by tlhintoq; Dec 29 '09, 05:36 PM. Reason: [coDE] ...Your code goes between code tags [/CODE]

  • uday1302
    replied to TreeView-
    Yaa exactly I need in that Way.
    But I am unable to....I have got in these way only

    Beverages
    Beers
    Club Pilesener
    Here I am unable to display one more Product
    See more | Go to post

    Leave a comment:


  • uday1302
    started a topic TreeView-

    TreeView-

    this is my data
    CategName subCateName Id Products
    NULL NULL 6 Prod3
    NULL NULL 9 SalesProd7
    Beverages Beers 15 Bell Lager 500 ML
    Beverages Beers 16 CLUB PILSENER 500 ML
    Beverages Juices 24 Apple Juice
    Beverages Juices 25 Chikooo Juice
    Beverages SoftDrinks 26 Coke
    Beverages SoftDrinks 27 Pepsi
    Beverages Wines 28 RED WINE
    Beverages Wines 29 White Wine
    Food...
    See more | Go to post

  • uday1302
    started a topic on button click-context menu strip

    on button click-context menu strip

    I have 30 buttons and I am trying to implement context menu on each button click by using following method.
    void OnButtonClick(o bject sender, EventArgs e)
    {
    Button btn = (Button)sender;
    btn.ContextMenu Strip.Show(btn, new System.Drawing. Point(0, btn.Height));
    }
    I have 2 context menu strip items, Add text Label and Add colour
    private void addTextLabelToo lStripMenuItem_ Click(object...
    See more | Go to post

  • uday1302
    replied to Listview Sub Item Edit
    Hi,
    Here I am trying to edit value in lstListView.Sel ectedItems[0].SubItems[3] column.
    The textbox I have placed is not displayed at that coulmn position. I have done with all the possibilites but unable to place the textbox in required Location.
    Is that clear..
    See more | Go to post

    Leave a comment:


  • uday1302
    started a topic Listview Sub Item Edit

    Listview Sub Item Edit

    Hi,
    Can anyone trace out where is the error

    Code:
    lstListView.DoubleClick += new EventHandler(this.lstEditDoubleClick);
    txtSubItem.KeyPress += new KeyPressEventHandler(this.txtEditOver);
    lstListView.MouseDown += new MouseEventHandler(this.lstEditMouseDown);
    public void lstEditMouseDown(object sender, MouseEventArgs e)
            {
                ListViewItem item = lstListView.GetItemAt(e.X, e.Y);
    ...
    See more | Go to post
    Last edited by pbmods; Jan 28 '09, 04:49 AM. Reason: Added CODE tags.

  • uday1302
    started a topic Dictionary Class

    Dictionary Class

    Hi,
    I have Listbox(lstgrou ps) and listview(lstIte ms). say items in lisbox as Groups and in listview as Items.
    Each Group should have list of items, when i add an new item to lstitems. it should assign to selected group. and If I add two items to a selected group and moved to Second goup and added items to these. Then if moved to first group the intial added Items are to displayed in Listview. is that Possible.
    By using dictionary...
    See more | Go to post

  • uday1302
    replied to Dicitionary Geneic Class
    Dictionary classes

    I have Listbox(lstgrou ps) and listview(lstIte ms). say items in lisbox as Groups and in listview as Items.
    Each Group should have list of items, when i add an new item to lstitems. it should assign to selected group.
    By using dictionary classes
    Here List<object> should return lstitems


    Dictionary<stri ng, List<object>> d= new Dictionary(stri ng, List<object>>() ;...
    See more | Go to post

    Leave a comment:


  • uday1302
    started a topic Dicitionary Geneic Class

    Dicitionary Geneic Class

    Hi All,
    Can anyone help me out regarding Dicitonary Generic Class using c#.

    Like I have 3 btns(add, edit and delete), text box , LisBox, Listview. If i add an item from Text it should be added to lIstbox and i have items in listview. They should be assigned to listbox selected item. these can be done through dicitonary classes. If i add new one Listbox item and new listview items are to be added to that selected item.
    See more | Go to post

  • uday1302
    replied to Drag and Drop Treeview Item into Listview
    Hi Dear,
    I have added the event handler from front end design.

    Thatz not a pronlem hope so
    See more | Go to post

    Leave a comment:


  • uday1302
    started a topic Drag and Drop Treeview Item into Listview

    Drag and Drop Treeview Item into Listview

    Hi All,
    I have tried by seeing an example. See the below code. Here I have a Problem. Treeview has already one root node and twochild nodes with it.
    They have to be dragged and dropped in listview.

    The main Problem is wen I drag an item..the Itemdrag event is not fired.?? Please try to resolve it.

    Code:
    private void tvwSalesProducts_ItemDrag(object sender, ItemDragEventArgs e)
            {
    ...
    See more | Go to post

  • Object refernce is required for non-static, method or property

    Hi Everybody,

    proj1-frmCatSql.cs contains a method like

    public datatable GetallMembers() { stms--------- }

    proj2-frmItem.cs conatins

    private void Filldata(combob ox cmb, datatable dtlname) { stmts------- }

    private viod frmitem_load( ) {
    Filldata( cmbcate, catesql.Getallm embers())

    Note: catesql is class of frmCatsql.cs
    Here I get an error at catesql.Getallm embers()...
    See more | Go to post

  • uday1302
    started a topic C# coding style
    in .NET

    C# coding style

    Hi Guys,

    Can anyone please send me the info. regarding C# coding styles. basically how to use the C# coding by using oops concepts
    See more | Go to post

  • uday1302
    started a topic Windows Service
    in .NET

    Windows Service

    Hi Guys,

    I would Like to know How to implement Windows Service
    The Detail Descrption is needed..

    How to connect a single application to Two servers
    If one server fails anothe one has to be started..
    See more | Go to post

  • uday1302
    replied to There is no row at position 0
    in .NET
    Plz reply me Guys i am in very urgent
    See more | Go to post

    Leave a comment:


  • uday1302
    started a topic There is no row at position 0
    in .NET

    There is no row at position 0

    Hi Friends,
    There is no row at position 0 Error
    here it is my code..
    [code=cpp]
    string q="select * from Masters where deptno="+deptno ;
    dataset ds=new datset();
    sqldataadapter da=new sqldatadapter(q , conn);
    da.fill(ds,"fil l");
    listviewitem list=null;
    foreach(datarow dr in ds.tables["fill"].rows)
    {
    list=new lisviewitem(dr. rows["empno"].tostring());...
    See more | Go to post

  • uday1302
    replied to runtime listview
    in .NET
    I have inserted a textbox,button and a listview in a form . here it is like if i entered a empname or empid in textbox and press btn. values r retrived frm exisiting database- table and displayed in listview.
    I want the lsit view to be created at run time??hope guys you understood..???/
    See more | Go to post

    Leave a comment:


  • uday1302
    started a topic runtime listview
    in .NET

    runtime listview

    Hi Guys..
    I want to create a listview at runtime wen button is clicked.
    can anyone know code for these using C#..its very urgent
    See more | Go to post
No activity results to display
Show More
Working...