Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
36% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
2 Commented Posts
~45.8K People Reached
Favorite Tags
Member Avatar for MARKAND911

I have created an MS Access Query named **GetContactCategory** select GetCategoryNames(contactId) as CategoryNames from Contacts The Function **GetCategoryNames** is the function written in a module of same database. Now when i call this query in my c# application using ADO.net it throws error. Following is my c# code ` using …

Member Avatar for lithium112
0
384
Member Avatar for MARKAND911

Following is the code which sends single embedded image very fine from Outlook using c# public void sendEMailThroughOUTLOOK() { try { Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); string imageCid = "image001.jpg@123"; oMsg.HTMLBody = String.Format("<body><img src=\"cid:{0}\"></body>", imageCid); Attachment attachment1 = oMsg.Attachments.Add(@"E:\wallpapers\WRLDMAP.jpg", OlAttachmentType.olEmbeddeditem, null, "img"); attachment1.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001E", imageCid); //Add an …

Member Avatar for cgeier
0
599
Member Avatar for hitro456

Hi folks, I have an ASP page. I have a label and button on that page. label shows data from database. lets say i have 100 rows in database Now when I run my page i want to see first row data on my page label... and when user click …

Member Avatar for spy.monzer
0
3K
Member Avatar for MARKAND911

I am developing a winform application. I have menu like Edit -> Copy and Edit -> Paste. Instead of using Clipboard class to do copying and pasting can I use Operating System's ability to Copy and Paste text, image, link, etc...

Member Avatar for Ancient Dragon
0
127
Member Avatar for MARKAND911
Member Avatar for MARKAND911
0
194
Member Avatar for MARKAND911
0
104
Member Avatar for MARKAND911

I am building a winform Application. I have to create buttons dynamically based on data fetched from database. I followed following steps Created UserControl On UserControl_Load event I fetched data from database. I populated the UserControl with buttons based on number of rows i get from the database. The above …

Member Avatar for deceptikon
0
422
Member Avatar for MARKAND911

I have developed a windows application. My development environment is win7, office2007, C#, VS2010, Winforms. My application stores data in MS Access. Is there any way with which i can create a connection string based on Oledb driver version present in PC?

Member Avatar for Fenrir()
0
213
Member Avatar for MARKAND911

Is it possible to implement theme of Microsoft Office in my windows application. I mean when anyone changes theme of Microsoft Office it should also make change the theme of my windows application. If its possible, let me know how to do that?

Member Avatar for Fenrir()
0
281
Member Avatar for MARKAND911

I get an error message when i open an MVC project. The error is attached as screenshot. While the same project opens in another machine. Steps taken by me to solve the problem •Installed IIS •Given permisssion to "inetpub" folder •Uninstalled IIS and installed IIS Express •Opened Visual Studio as …

Member Avatar for Ewald Horn
0
184
Member Avatar for MARKAND911

Hello all I having an issue in logging into a website using webRequest and WebResponse. I thought let me reach out to experts by posting a question. I am trying to login in http://www.mbhatt.in and want to access the page after the login is successfull. I used following code to …

Member Avatar for pritaeas
0
134
Member Avatar for CSharpUser

Hello, I have an ASP web application and in the C# code behind I want to present the user with a simple yes/no dialog box that gives them the opportunity to save a file that their input has created. I've used a simple implementation of ClientScript.RegisterStartupScript elsewhere in the code …

Member Avatar for swathi@123
0
1K
Member Avatar for MARKAND911

I used following code to connect oracle database from C#. But i get this error "**invalid login credentials**" using (Oracle.DataAccess.Client.OracleConnection cn = new Oracle.DataAccess.Client.OracleConnection("Data Source=abcSource;User Id=abcUserId;Password=abcPassword;") { cn.Open(); } While if i try following code to connect database from C# I succeed. using (System.Data.OracleClient.OracleConnection cn = new System.Data.OracleClient.OracleConnection("Data Source=abcSource;User Id=abcUserId;Password=abcPassword;")); …

Member Avatar for RvSon
0
190
Member Avatar for sk8ergirl

hi I'm using VS express for web and I'm using C# I know how to replace value in arrraylist in java , but I found it hard to do it in c# in the designe view in VS I have add button and textBox.. first I need to get what …

Member Avatar for ddanbe
0
186
Member Avatar for MARKAND911

I have a datagrid "dgData" AutoGenereateColumns="true" In this i have 2 templateFields. Now i want to populate all the data between these 2 template fields. How can i do this using C#

Member Avatar for LastMitch
0
49
Member Avatar for MARKAND911

`insert into table1 (Wicket,Run,Catch) values (Wicket+2,Run+22,Catch+5)` This statement is used to insert data using StoredProcedure. How can i insert data same way without using storeprocedure but using LinqToSql. What will be code for it.

Member Avatar for pritaeas
0
100
Member Avatar for MARKAND911

I added new database file in my solution's app_data folder in VS2008. But when i tried to expand it from SERVER EXPLORER, i get this error An attempt to attach an auto-named database for file ___ failed. Find the screen shot of the error which occured in vs2008 IDE. [http://www.eggheadcafe.com/FileUpload/1619491694/Errordb.jpg](null)

0
125
Member Avatar for MARKAND911

I am facing a problem for running my website. I have developed the website and when i hit F5 to view the results i am presented with this error **Description:** The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission …

Member Avatar for JorgeM
0
335
Member Avatar for ShailaMohite

I am Create One Application In Which Only One Row Contain Enter Number Only. Please Give Me Validation For Enter Only Number In DatagridView

Member Avatar for prampe
0
5K
Member Avatar for MARKAND911

I have created threads dynamically. static void Main(string[] args) { int ThreadCount = Convert.ToInt32(ConfigurationManager.AppSettings["Threads"]); List<Thread> th = new List<Thread>(); for (int i = 0; i < ThreadCount; i++) { Thread t = new Thread(print); th.Add(t); } foreach (Thread t in th) { t.Start(); } } public void print() { console.writeline("123"); …

Member Avatar for Momerath
0
113
Member Avatar for MARKAND911

http://localhost/Project.html?ProjectId=P6610C32F-7C54-4221-A190-A9E7E08F8B08 This is my weburl. I want to retreive query string value of variable "ProjectId" How i can do this using vbscript and html page

Member Avatar for JorgeM
0
101
Member Avatar for crazydevelopervish

I have Table named Product Have Fields as Prod_ID int Prod_Name varchar(50) Price int Image varchar(50)----save as url I have form which have one DropDownList Having Boung To Prod_ID Coloum it shows all the data from prod_Id coloumn and have one gridview... if user selects prod_ID from dropdown then it …

Member Avatar for MARKAND911
0
129
Member Avatar for eric.mashiyane

private void button4_Click(object sender, EventArgs e) { { SqlConnection conn = new SqlConnection("Data Source=user-PC;Initial Catalog=URBAN-AUTO-CLINIC;Integrated Security=True;User Instance=False"); SqlDataAdapter adaptor = new SqlDataAdapter(); DataTable table = new DataTable(); DataSet ds = new DataSet(); adaptor.SelectCommand = new SqlCommand("SELECT FirstName,LastName FROM ClientNCar WHERE FirstName ='" +txtFName.Text +"'AND LastName='"+txtLName.Text+"'",conn); adaptor.Fill(ds); ClientSearchDisplay.DataSource = ds.Tables[0]; } …

Member Avatar for nmaillet
0
1K
Member Avatar for yash_code

# This is the code that i have used for sending an E- mail: But the E-mail sending is getting failed every time plz give your valuable suggestions to solve this problem it's Urgent thanxx.....# MailMessage mail = new MailMessage(); mail.To.Add("yash.work19@gmail.com"); mail.From = new MailAddress("yshshkl@gmail.com"); mail.Subject = "hello"; mail.Body = …

Member Avatar for MARKAND911
0
225
Member Avatar for Barbarrosa

Does anyone know how to close a file? I saved an image... then when i try and save the image to the same filename.. or delete the file after i saved it... i get an error which states that the file is being used by another process. Has anyone come …

Member Avatar for DanOrtega
0
1K
Member Avatar for MARKAND911

I am having a problem in adding Chart control to my Toolbox. When i click [B]Choose Items[/B] from my Toolbox Context Menu, my VS 2008 crashed down, and gets closed. So I am finding another way to add chart control to my toolbox. So I need help in adding chart …

Member Avatar for rohitorque
0
74
Member Avatar for MARKAND911

I have a crystal report named CR1. Now i want to populate the data from multiple tables into my crystal report CR1. I am using VS2008 and coding language is C# in ASP.net Any help will be appreciated.

0
97
Member Avatar for MARKAND911

I am having a table named "Society" And 5 master tables "BlockA","BlockB","BlockC","BlockD","BlockE". The "Society" table contains the foreign key columns of all the 5 master tables. Now when i write the select query it takes a lot of time to execute, as 5 tables are referencing one table and joining …

Member Avatar for BitBlt
0
142
Member Avatar for MARKAND911

I am getting this error. But i cant find out the reason why i am getting this error [COLOR="Red"]Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding …

Member Avatar for tirujogu
0
137
Member Avatar for MARKAND911

I want to create a SQL login in SQL2005. I tried creating it but it gives me error message [COLOR="Red"]"Create failed for login 'username'. User does not have permissions to perform this actions"[/COLOR] What to do now to create a SQL login in sql 2005

Member Avatar for BitBlt
0
145