- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
[QUOTE=karthikcyano;478322]Hi, I had 2 Template columns in a Datagrid, each column contains a Textbox. The user can enter the values and it should be saved. I wanna add a new row if a user clicks add new button. After Entering the values in the textboxes (inside the Datagrid) if he …
Please use the following code. and add .dll's Interop.Outlook.dll Interop.Microsoft.Office.Core.dll Office.dll protected void Button1_Click(object sender, EventArgs e) { Microsoft.Office.Interop.Outlook.Application objApp = new Microsoft.Office.Interop.Outlook.Application(); Microsoft.Office.Interop.Outlook.MailItem objMail; objMail = (Microsoft.Office.Interop.Outlook.MailItem)objApp.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem); objMail.To = "[email protected]; objMail.Subject = "Testmail"; objMail.BodyFormat = Microsoft.Office.Interop.Outlook.OlBodyFormat.olFormatHTML; objMail.Body = "Welcome to Outlook"; objMail.Display(Microsoft.Office.Interop.Outlook.OlBodyFormat.olFormatHTML); } sabeer pasha.
[QUOTE=geetajlo;619017]Hi i want to prevent the user from entering number and special charaters in a textbox and another textbox from entering alphabets and specials characters ..... Need it quickly coz 2moro have to submit my project...[/QUOTE] -------- Use the following code.. #Region "TextBox Events" Private Sub txtFinRefNo_KeyPress(ByVal sender As Object, …
The End.
sabeerpasha