upenderkumar.blogspot.com
Upender Manithia: 2010-02-07
http://upenderkumar.blogspot.com/2010_02_07_archive.html
Feb 12, 2010. Insert and formatting a picture into a word document using c#. In this example, I have a ms word 2007 document template having a 2*2 table.Here are the lines of code to insert a picture into table cell and set its height and width. Microsoft.Office.Interop.Word;. NullObj = System.Reflection. Missing. ObjWordDoc = objWord.Documents.Open( ref. Microsoft.Office.Interop.Word. Table. Table = objWordDoc.Tables[1];. TableCell(tableRow, 1).Range.Bold = 0;. ImgUrl =”image Url”. TableCell(tableRow 3,...
upenderkumar.blogspot.com
Upender Manithia: 2008-09-07
http://upenderkumar.blogspot.com/2008_09_07_archive.html
Sep 10, 2008. Java Script Slide Show. To use this effect, download the Javascript file. And the CSS file. Create two tags within your HTML that occupy the same area. In the example, these tags take up the entire screen. Fill an array with the URLs of the images to display. You can optionally pass this list to the randomizeList. Function to shuffle it. Then call the startSlideshow. Function with this list and the IDs of the two tags. Links to this post. Double Clickable Rows with GridView. Sep 8, 2008.
upenderkumar.blogspot.com
Upender Manithia: 2008-09-21
http://upenderkumar.blogspot.com/2008_09_21_archive.html
Sep 23, 2008. I was facing a problem with GridView1 RowUpdating. When I was editing a GridView cell, the new value entered in the cell was not retrieved. But at last i got the solution. Here is the solution:. Cell = GridView1.Rows[e.RowIndex].Cells[1] as. GridView1.Columns[1].ExtractValuesFromCell(e.NewValues, cell, DataControlRowState. Links to this post. Subscribe to: Posts (Atom). DD-WRT: Share Hotel’s limited WiFi with unlimited devices. Random Rants and Raves. Windows Phone App: Flight Status India.
upenderkumar.blogspot.com
Upender Manithia: 2009-04-12
http://upenderkumar.blogspot.com/2009_04_12_archive.html
Apr 14, 2009. How to Insert into Excel file from another Excel file. In this I have excel database I want to creat a asp.net page that will allow my user to browse a excel file from aspx page and insert into the file. Example i have excel file which has 2 column, 1 bedroom 2bathroom.Now in my asp.net page I have fileupload and one Click button.User will browse a excel file and click the button.These information will be inserted into Excel file. FileUpload.SaveAs(Server.MapPath( "NewFolder1 ". Hisar,Gurga...
upenderkumar.blogspot.com
Upender Manithia: 2009-04-19
http://upenderkumar.blogspot.com/2009_04_19_archive.html
Apr 20, 2009. How to apply CssClass for Ajax TabContainer. A tab is constructed of nested tags. The class ajax tab outer defines the right side of the tab, the class ajax tab inner defines the left side of the tab, and finally ajax tab tab defines the middle of the tab.Some usefull link are CssClass1. Style Sheet Attributes */. Links to this post. How to Set CssClass for Ajax Calender. Style Sheet attributes Calender. Please select date from calendar". Sender. selectedDate = null. Links to this post.
upenderkumar.blogspot.com
Upender Manithia: 2010-02-14
http://upenderkumar.blogspot.com/2010_02_14_archive.html
Feb 16, 2010. How to get Site Users and Fill dropdown list. In this example we will get all the site users and fill them in a dropdownlist. Web = spsite.OpenWeb();. UserList = web.SiteUsers;. Count = 0;. CurrentUserId.ToString() & u.Name.ToLower()! UserName & u.Name! NT AUTHORITY LOCAL SERVICE". UserLoginName = u.LoginName.ToString();. UserLoginName = userLoginName.Substring(userLoginName.IndexOf( " ". DdlUserListTo.Items.Add(userLoginName.ToUpper() ;. Count = 1;. Links to this post. Charting in VS 2008.
upenderkumar.blogspot.com
Upender Manithia: 2010-08-29
http://upenderkumar.blogspot.com/2010_08_29_archive.html
Aug 30, 2010. How to add ribbon tabs and subgroups on sharepoint 2010 application page. It is quite easy to add your own Ribbon controls and tabs to existing lists, libraries, and even your own web parts. You can even add contextual ribbon tabs to web parts hosted in your own custom Application Pages. In code behiend file Create the ribbon by declaring two strings that hold the Tab and the GroupTemplate definitions like this:. Is a sample tab". Id=" Ribbon.MyTab.Scaling". Id=" Ribbon.MyTab.Noting". Image...
upenderkumar.blogspot.com
Upender Manithia: 2010-04-04
http://upenderkumar.blogspot.com/2010_04_04_archive.html
Apr 8, 2010. HOW TO CONVERT DIGITS INTO WORD USING C# .NET. These methods explain how we can convert a numeric values into word. WholeNo = numb, points = ". DecimalPlace = numb.IndexOf( ".". WholeNo = numb.Substring(0, decimalPlace);. Points = numb.Substring(decimalPlace 1);. Just to separate whole numbers from points/cents. EndStr) : ( ". PointStr = TranslateCents(points);. Format( "{0} {1}{2} {3}". TranslateWholeNumber(wholeNo).Trim(), andStr, pointStr, endStr);. Test if already translated. Place = " ".
upenderkumar.blogspot.com
Upender Manithia: 2008-12-14
http://upenderkumar.blogspot.com/2008_12_14_archive.html
Dec 16, 2008. How to Send Email. This example shows how to send email through gmail. The port number for gmail is 587.There is no need to write any code in web.config. System.Net.Mail;. System.Net. NetworkCredential. System.Net. NetworkCredential. EmailClient.Credentials = cred;. TxtFrom.Text, txtTo.Text, txtSubject.Text, txtMessage.Text);. Message.IsBodyHtml = true. Message.Priority = MailPriority. EmailClient.EnableSsl = true. Links to this post. Subscribe to: Posts (Atom). How to Send Email.
upenderkumar.blogspot.com
Upender Manithia: 2009-03-01
http://upenderkumar.blogspot.com/2009_03_01_archive.html
Mar 5, 2009. How to use Ajax UpdateProgress control. In this tutorial you will use UpdateProgress. Controls to display the progress of partial-page updates. If a page contains UpdatePanel. Controls, you can also include UpdateProgress. Controls to keep users informed about the status of partial-page updates. You can use one UpdateProgress. Control to represent the progress of partial-page updates for the whole page. Alternatively, you can include an UpdateProgress. Control for every UpdatePanel.