Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: M-Dayyan

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    3,013

    Button's OnClick event doesn't fire ?

    Hi friends,
    The following code is my ASP.NET page :

    <MdsMenu:MenuItem Text="Button" Href="#">
    <asp:Button ID="Button1" runat="server" Text="Button 01" OnClick="Button_Click" />
    ...
  2. Replies
    0
    Views
    1,271

    DDL or CLR Trigger sample ? Pin

    Hi guys,
    I have a Table (TableTest) in a Database (database1) in SQLExpress 2008.
    I wanna to call a method in C# whenever something is inserted in the Table.

    Could you please guide me?
    It would...
  3. Replies
    0
    Views
    3,967

    Using DataPager for Datalist ?

    Can we use a DataPager for a DataList?
    I've done it but the following exception has occurred !!!


    Source Error:

    An unhandled exception was generated during the execution of the current web...
  4. View Post

    I'm working with a WebService.
    Whenever I use this webserivce the following exception has occurred!!!

    As I found this exception doesn't concern to my WebApp files! it concerns to the ...
  5. Replies
    2
    Views
    14,681

    Re: ImageSource to string in WPF and C# ?

    Thanks friend ,
    I've been gotten the response in StackOverFlow
  6. Replies
    2
    Views
    14,681

    ImageSource to string in WPF and C# ?

    Hi,

    I have the below XAML code :


    <Window x:Class="WpfApplication1.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    ...
  7. Replies
    2
    Views
    5,046

    Re: Microsoft.SqlServer.Management.Smo.FailedOperationException: Backup failed for Se

    My problem was solved here :
    http://stackoverflow.com/questions/2080263/microsoft-sqlserver-management-smo-failedoperationexception-backup-failed-for-se
  8. Replies
    2
    Views
    5,046

    Backup failed for Server

    Hi,
    I'm gonna get a SQL backup with below method :


    void BackupDatabase(string sConnect, string dbName, string backUpPath)
    {
    using (SqlConnection cnn = new SqlConnection(sConnect))
    {...
  9. Replies
    3
    Views
    2,274

    Re: BackgroundWorker with anonymous methods ?

    Thanks my friend,
    we could do that like this


    bgw.DoWork += new DoWorkEventHandler(
    (s, e1) =>
    {
    int i = 0;
    foreach (var item in query2)
    {
  10. Replies
    3
    Views
    2,274

    BackgroundWorker with anonymous methods ?

    Hi,
    I'm gonna create a BackgroundWorker with an anonymous method.
    I've written the following code :


    BackgroundWorker bgw = new BackgroundWorker();
    bgw.DoWork += new DoWorkEventHandler(
    ...
  11. Re: Add an Item to a ListView in VitualMode ?

    Excellent ,
    I got it my friend.
    Thanks a lot ;)
  12. Re: Add an Item to a ListView in VitualMode ?

    You mean I have to put foreach contents in listView1_RetrieveVirtualItem method ?
  13. Re: Add an Item to a ListView in VitualMode ?

    Thanks memeloo.
    I have done it too !!!
    I think you couldn't understand me well ! let's explain more :

    I'm working with SQL to LINQ,
    before I use ListView in VirtulMode, whenever I was getting...
  14. Re: Add an Item to a ListView in VitualMode ?

    My question is exactly it, :)
    How can I add a new item to a listview in VirtualMode ?
  15. Re: Add an Item to a ListView in VitualMode ?

    I've done it, I forgot to post :


    void listView1_RetrieveVirtualItem(object sender, RetrieveVirtualItemEventArgs e)
    {
    e.Item = new ListViewItem(e.ItemIndex.ToString());
    }
  16. [RESOLVED] Add an Item to a ListView in VitualMode ?

    Hi,
    I'm gonna add an item to a ListView in VirtualMode.
    Below is my C# code to do that :


    listView1.VirtualMode = true;
    listView1.VirtualListSize = query.Count();
    foreach (var item in query)...
  17. Changing Calendar Type in DateTimePicker , C#?

    Hi all.
    Is it possible to change type of calendar in DateTimePicker (C#) ?
    e.g : I'm gonna replace Persian Calendar with the default calendar in DateTimePicker !
    Thanks
  18. Replies
    11
    Views
    4,494

    Re: "Illegal characters in path" Exception ?

    Yes, I've done it.
    I restarted SQL Express Service and tested the code several times.
  19. Replies
    11
    Views
    4,494

    Re: "Illegal characters in path" Exception ?

    I've done it. Unfortunately the same Exception has occurred.
    I modified the code again :


    private void MainForm_Load(object sender, EventArgs e)
    {
    ...
  20. Replies
    11
    Views
    4,494

    Re: "Illegal characters in path" Exception ?

    I modified the code :


    private void MainForm_Load(object sender, EventArgs e)
    {
    RezaRestaurant.SQL.DataClasses1DataContext dbc = new RezaRestaurant.SQL.DataClasses1DataContext();
    if...
  21. Replies
    11
    Views
    4,494

    Re: "Illegal characters in path" Exception ?

    Thanks Arjay.
    I fixed the code :


    private void MainForm_Load(object sender, EventArgs e)
    {
    RezaRestaurant.SQL.DataClasses1DataContext dbc = new...
  22. Replies
    11
    Views
    4,494

    Re: "Illegal characters in path" Exception ?

    Hi and thanks.
    I've done it :

    25588
    But the Exception has occurred again !!! :confused:
    Could you please guide me more ?
  23. Replies
    11
    Views
    4,494

    "Illegal characters in path" Exception ?

    Hi. I'm using LINQ to SQL.
    I wanna create a database with LINQ but the following exception has occurred : Illegal characters in path.

    My snippet code :


    public static string DBFolder =...
  24. Replies
    0
    Views
    3,674

    Taking backup from DataBase (LINQ)?

    Hi.
    I've added a SQL database to my project. It's beside of the exe file in SQL folder.
    I was using SQL to LINQ.
    Now I wanna get a backup from it with C#.
    I'm using following method :


    public...
  25. Using an API Function -> SetupDiGetClassDevs ?

    Hi.
    I'm using SetupDiGetClassDevs function in my App.
    This is my snippet code , but it's wrong
    and this Exception is occurring .


    [DllImport("setupapi.dll", CharSet = CharSet.Auto)]
    static...
Results 1 to 25 of 57
Page 1 of 3 1 2 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center