Software Development Network Logo
  • Visual FoxPro
  • Game Technologies
  • Windows Live
  • .NET Development
  • Architecture
  • Windows Forms
  • Visual J#
  • Visual Studio
  • Visual C++
  • Visual Basic
  • Visual C#
  • Windows Vista
  • Microsoft ISV
  • VS Team System
  • VS Express Editions

Software Development Network >> Ashraf Gawdat's Q&A profile

Ashraf Gawdat

Member List

Michael Faschinger
Willian Leite
jodz
zhengjs
95five0
Ira Berkowitz
vbBigNelson
sly_i
venutm
JReuben1
yi peng
Lucho_1981
Tomas Frojdo
howudodat
Grantm05
Deepak Rangarajan
Ben Wolf
jschell
seanklindt
kline
Only Title

Ashraf Gawdat's Q&A profile

  • Visual Studio Express Editions How can you take a DropDownList selection to fill a GridView?

    I would think this would be pretty easy but I am new a C# programming. I am using Visual Web Developer Express (great program at a great price) for C# and I simply want to make a selection in a DropDownList and have the detailed information (from the database) come up in a GridView or DetailView on the same page. Any help would be much appreciated!! Thanks! Actually, I just figured it out. This will do it: OnSelectedIndexChanged = DropDownList1_SelectedIndexChanged ...Show All

  • .NET Development Unmanaged code

    Hello, If I'm posting to the wrong forum please advise. Thanks. I have just started using visual studio .net 2003 (C++) and have created a windows form .net  application which I have put quite a bit of time into, but now have found that I am not able to include wininet.h without getting a bunch of compiler errors. Could someone give me a sample of a way around this problem by using dllimport, pinvoke or reflection, I have run across all of these methods through out my web searches but they were usually written in some other language other than c++. If you can give me general way to make wininet "InternetDial" to compile I wou ...Show All

  • Visual Basic 1-dimonsional array error

    Hi, I have created the folowing functin from my form to call a class in another project within the same solution. this line ( sections.GetRiskSections() ) is underlined and the error is: Error 1 Value of type 'RSCompDB.Premiums.RiskSectionsList' cannot be converted to '1-dimensional array of RSCompDB.Premiums.RiskSectionsList'. Thanks Public Function GetRiskSections() As RSCompDB.Premiums.RiskSectionsList() Try Dim sections As New RSCompDB.Premiums.clsPremiums() ''''ERROR'''''''''''' Return sections.GetRiskSections() ''''ERROR''''''' Catch ex As Exception Throw End Try End Function ...Show All

  • .NET Development Table adapter configuration wizard bug, Oracle 10g

    I have been having a problem with the table adapter configuration wizard in Visual Studio 2005.  When I try to configure a table adapter that includes 2 or more tables joined together, the designer reports the following error: Syntax Error: Expecting '.', identifier or quoted identifier. When I hit Ok and return to the dataset, the data table does no include my queries columns.  If I try to add the columns manually, I get a very similar error message from the designer. This only seems to occur with Oracle connections.  I'm using an Oracle 10g database/client.  Switching to SQL Server is not an option, I already tried. ...Show All

  • Visual C# Why is the C# team allowing this to Happen? and Why do they close threads on the topic?

    Since PJ. van de Sande Closed the last thread I opened : Why is the C# team allowing this to happen I guess because he didn't click the link or he didn't like the topic.  I brought the link information here.....  So I ask again... Why is the C# team allowing this to happen   If he closes it again, please respond here From the Blog link: From Tom Archers blog Why so many examples in Visual Basic We find another thing for us to ignore from MS when trying to do what they do, and not what they say to do. This blog from Feb I wrote touches on the VB.NET & C# mess discussed in the threads ...Show All

  • Windows Forms How to do indeterminate progress bar?

    Sometimes you know when a task begins, and when it ends, but you don't know the increments. In such situations you want to display an "indeterminate" progress bar, which basically means the progress bar doesn't fill from left to right, instead a few segments move from left to right and starts over from left, and this repeats. How do you do such a "never ending" progress bar I have seen it in Microsoft applications, but I don't see a property on the progressbar class to turn this mode on. i need help i want to know how to add the progress bar on my web browser i have built, i added the progress bar, i have ...Show All

  • Windows Forms Menu Button (outside of a toolbar)

    Hi All. Is it possible to have a push button that exposes a  drop down menu that isn't a toolbar button The toolbar button seems to do what I want, but I can't figure out how to create such a button outside of a toolbar. Screenshot of what I am looking for: http://img40.exs.cx/my.php loc=img40&image=menubutton.jpg does anyone have any ideas how I could create such&nb ...Show All

  • SQL Server SMO Method Performance

    I've run a series of performance tests on a test app that uses smo for creating sql server tables (including columns, indexes, triggers, and foreign keys) and stored procedures (including parameters). On a 2.7GHz machine with 512MB ram (both app and Sql Server running locally), the series of tests yielded the following results: Table.Create() 0.3 ==> 0.6 seconds PrimaryKeyIndex.Create() 0.7 ==> 0.9 seconds Trigger.Create() ~0.06 seconds StoredProcedure.Create() 0.12 ==> 0.14 seconds With creating a large number of tables/indexes/stored procedures in the app, I'm concerned about performance. Are there ways to quicke ...Show All

  • SQL Server using sysdate date/time in bulk load to sql server

    Lets say, I have the following xml doc: <customer>     <name>xyz</xyz>     <name>xyz1</xyz>     .     . <customer> customer(id, name, lastModifieddate) I am doing a bulk load into SQL sever for the above table. Though 'lastModifiedDate' is nullable column, I would like to insert a system date/time at the time of inserting in to the table. How do I write a mapping schema that would let sql server determin the current date time. This is just the opposite of sql:is-constant / sql:mapped annotation. The mapping element / attribute doesn't exist in the ...Show All

  • Windows Live Developer Forums Making your own controls

    Im going to start making my own control set for the user to move around the map, change the views and zoom in etc etc. Can any one give me a pointer as to how to make a nice zoomer like the one MS have made, Yellow pages .com have also made there own but im not 100% sure how they did it, is there a standard class that i can use and send it my own template or a example code i can look at to make the zoomer work smothly ...Show All

  • Software Development for Windows Vista Xaml-only workflows and customization

    I've got a question or two about the long-term plans for Xaml-only (markup-only, xoml) workflows. It seems that if you want to allow some level of end-user customization of workflows, you'll want to implement them in Xaml-only rather than using the code-only workflows. Then you can distribute a set of Xaml files with your app and load them at runtime to execute the workflows. You can even host the workflow designer and give your users a way to make changes to the Xaml in a controlled way. All of that sounds great. However, with the current way (January CTP) Xaml-only workflows are implemented, this doesn't really seem realistic. The main pro ...Show All

  • SQL Server Data Transfer reported as succesfull BUT only one row is ever transfered!!

    Hi, I have SQL Server 2005 Developer Edition installed on my laptop. At this time, our servers here are currently running SQL Server 2000 Enterprise edition. When I try to use the DTS import/export wizard to transfer records between two SQL Server 2000 databases, SQL 2005 always reports the transfer as successful! Although when you check the destination table there is only ever 1 record transfered This has happened every I have attempted, on any tables, are there any fixes to either perfmit the copy of all records or at least report the error condition that prevents records being transfered Regards Colin I ...Show All

  • Windows Forms TreeView in WinForms 2.0 dosen't update itself when nodes are added

    Hi everyone, Within a Winform application, a treeview is contained in a User Control and the User Control is then located within a splitview. When the UserControl added some nodes into the Treeview, the treeview is not displaying the added nodes, it just keep displaying the initial node added to it during initallisation. Tried variious method like TreeView.Invalidate() and TreeView.Update(). The code which adds nodes to the treeview is already surrounded by TreeView.BeginUpdate() and TreeView.EndUpdate(). it is still not displaying the new contents. However, if you ask it to display the number of nodes in the tree, the Nodes.Count ...Show All

  • Architecture VisioR 2003 UML To XMI Export

    Has anyone been able to import the xmi export file this tool generates into any other tool I have tried pulling Visio Use case diagrams into XDE, Sparx 4.1, and now Sparx 6.0 with zero luck. Are there any plans to upgrade this add-in to export xmi 1.1, 1.2, etc The 1.0 version it exports is not support with the rest of the tools (XDE and Sparx) on the market I am currently using. Tad To address your questions: The main purpose of the tool was to provide a mechanism to export model data (from class diagrams) into an xml file which you can programmatically access. There is no other exte ...Show All

  • Visual Studio Team System TFS RC: Error loading Microsoft.TeamFoundation.WorkItemTracking.Server.EventFilter ...

    Even though the installation was successful, I am getting the following error four times in a row, every hour: Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Server.EventFilter' or one of its dependencies Is this a serious problem Should I be able to fix it or is it a problem with thr RC build Thanks in advance, here is the entire event log entry: Event Type: Warning Event Source: TFS Services Event Category: None Event ID: 3012 Date: 2/15/2006 Time: 8:05:13 AM User: N/A Computer: MyServer Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contain ...Show All

©2008 Software Development Network