Search:
Type: Posts; User: M-Dayyan
Search :
Search took 0.01 seconds.
November 28th, 2010 12:19 AM
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" />
...
September 13th, 2010 02:04 AM
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...
August 30th, 2010 07:55 PM
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...
August 26th, 2010 12:31 AM
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 ...
Thanks friend ,
I've been gotten the response in StackOverFlow
Hi,
I have the below XAML code :
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
...
January 17th, 2010 04:30 AM
My problem was solved here :
http://stackoverflow.com/questions/2080263/microsoft-sqlserver-management-smo-failedoperationexception-backup-failed-for-se
January 17th, 2010 01:38 AM
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))
{...
January 16th, 2010 12:05 PM
Thanks my friend,
we could do that like this
bgw.DoWork += new DoWorkEventHandler(
(s, e1) =>
{
int i = 0;
foreach (var item in query2)
{
January 16th, 2010 09:23 AM
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(
...
January 16th, 2010 06:20 AM
Excellent ,
I got it my friend.
Thanks a lot ;)
January 16th, 2010 06:08 AM
You mean I have to put foreach contents in listView1_RetrieveVirtualItem method ?
January 16th, 2010 06:00 AM
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...
January 16th, 2010 05:38 AM
My question is exactly it, :)
How can I add a new item to a listview in VirtualMode ?
January 16th, 2010 05:30 AM
I've done it, I forgot to post :
void listView1_RetrieveVirtualItem(object sender, RetrieveVirtualItemEventArgs e)
{
e.Item = new ListViewItem(e.ItemIndex.ToString());
}
January 16th, 2010 05:17 AM
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)...
November 24th, 2009 01:11 PM
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
October 27th, 2009 02:09 PM
Yes, I've done it.
I restarted SQL Express Service and tested the code several times.
October 27th, 2009 02:05 PM
I've done it. Unfortunately the same Exception has occurred.
I modified the code again :
private void MainForm_Load(object sender, EventArgs e)
{
...
October 27th, 2009 01:54 PM
I modified the code :
private void MainForm_Load(object sender, EventArgs e)
{
RezaRestaurant.SQL.DataClasses1DataContext dbc = new RezaRestaurant.SQL.DataClasses1DataContext();
if...
October 27th, 2009 11:57 AM
Thanks Arjay.
I fixed the code :
private void MainForm_Load(object sender, EventArgs e)
{
RezaRestaurant.SQL.DataClasses1DataContext dbc = new...
October 27th, 2009 11:23 AM
Hi and thanks.
I've done it :
25588
But the Exception has occurred again !!! :confused:
Could you please guide me more ?
October 25th, 2009 12:05 PM
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 =...
September 26th, 2009 08:58 AM
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...
March 29th, 2009 10:03 AM
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...
Click Here to Expand Forum to Full Width