|
i know save and retrieve. I WANNA DO UPDATE!!! CHANGE BINARY DATA AND PUT A NEW IMAGE THERE.
|
|
|
|
|
For that I also have to search. But another solution is delete that row and insert new one with updated data till you won't found the solution
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
Gnerally add items just is string or string-arrary.
it is not definitely appoint item's value.
how to add combobox's item use code,
the item's text is string, value is int.
the value is appointed definitely.
|
|
|
|
|
Hi,
u can do like this.
ListItem lt =new ListItem("Test1","1");<br />
DropDownList1.Items.Add(lt);<br />
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
|
Hi,
I am in the process of transferring the data from MSSQl database to MYSQL database.
I went through a code snippet which as in vb, in transferring the data (I mean content of tables).
I got this info from SQL DTS.com (Bulk Export Task) can any one here who did this sort of job earlier using C#?
I downloaded the required dll but wanna to have a code snippet in C#.
If any one knows please help me.
Thank you in advance
Raghavendran.
Raghavendran
|
|
|
|
|
hi all,
I want to handle the event for vertical scrollbar of a listview. instead of displaying the vertical scrollbar, i need to display a button which handles some functionality.
How can i do this?
Please help me with some links or suggestions
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
Hi Everybody,
Can any one help me out how to send News Letters through C#,ASp.NET1.1. I have a news letter which is designed in HTML(Containing Graphics). I need to send this page when the user subscribes for the news Letter. can any one please help me out how to achive this...
THANKS IN ADVANCE [ ]
chandu
|
|
|
|
|
The same way you'd send any email, did you try google ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi ,
i am trying to create a application that will send emails on a button click event.I wrote the code and its compiling fine.I am receiving the mail. Now i want to add CC and Bcc options also to this .that is i kept two more text boxes for cc and bcc(txtCC and txtBcc).I want help to code for it.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net.Mail;
using System.Net;
namespace Ttracker_TestApp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnSend_Click(object sender, EventArgs e)
{
try
{
MailMessage msgMail = new MailMessage();
msgMail.IsBodyHtml = true;
//msgMail.Bcc.Add(admin);
msgMail.From = new MailAddress("j@tk.com");
msgMail.To.Add(new MailAddress("j@tk.com"));
msgMail.Subject = "Subject";
msgMail.Body = txtMail.Text;
SmtpClient objSmtpClient = new SmtpClient("smtp.asnet.com");
objSmtpClient.Host = "smtp.asnet.com";
objSmtpClient.Credentials = new NetworkCredential("techvendors@asnet.com", "password");
objSmtpClient.Send(msgMail);
}
catch (Exception ex)
{ }
}
}
}
Thanking you
j
-- modified at 1:13 Thursday 22nd November, 2007
|
|
|
|
|
<cdoe>
MailMessage MyMessage = new MailMessage();
MyMessage.Bcc = "mymailid@mail.com";
|
|
|
|
|
Thanks ,that worked
but now i want it to acccept the address thats inside the text boxes txtAddress,txtBcc,txtCC.And also it should accept more than one cc's and bcc's.
and most important the contents of the mail should be taken form the datagrid
How can i do that in my code
Thanks
j
-- modified at 3:09 Thursday 22nd November, 2007
|
|
|
|
|
Hello experts,
Can anybody tell me how many controls I can place on a form....?
I am using windows application using C#.net 2005.
Their is a limitation in VB 6 for 255 maximum controls.
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
VB6 sucks.
I don't know, but it's more than you would ever want to have on a form.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you very much for reply.
Regards
Pankaj Joshi
If you want to shape your dreams into reality, please wake-up...
|
|
|
|
|
Hello friends,
In my application, When i place mouse over any window, the content of that window should be captured and will show in the form window. (whether the content is image or text). I can able to capture the handle of the window using 'WindowFromPoint( )' function. But using that handle, any way to capture the content of that window?
Please Help.................
Anez.A
|
|
|
|
|
hi all, i want to make an application just like MS paint,images will be loaded to it and upon selection of part of image it will be saved as new file, but only one part of image not full image file,i was able to select the part of image but how to copy/make a new image file from selected image part and save to disk or draw it again,
Regards.
Tasleem Arif
|
|
|
|
|
You can use the Bitmap constructor to create a new bitmap that is part of the old one
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
it creates the new image and resize it but,i want to create the new image from part of image not resize orignal image.
Regards.
Tasleem Arif
|
|
|
|
|
OK, then create a graphics object from a bitmap the right size and draw the fragment onto it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanks it did worked
Regards.
Tasleem Arif
|
|
|
|
|
You don't need to develop your own MS-paint-like software.. You can use the opensource Paint.NET..
http://www.getpaint.net/download.html
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
How to change the language of UI word in an office project?(in word 2003)
|
|
|
|
|
I reference the third-party control's dll in a project.
the project run normally in debug.
but compiler fail in release, it report "in defect of reference library".
|
|
|
|
|
Did you buy this third-party control?? I'm asking this because some third-party control "unregistered version" can't be used in release mode..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|