Hi To All, I am having a requirement to get the database values into an array list using javascript. Can any one suggest me
sai krishna
Hi To All, I am having a requirement to get the database values into an array list using javascript. Can any one suggest me
sai krishna
yes scott iam importing that namespace i m writing in my button click event like this { int count = 0; string strTemplate = string.Empty; int shpCount = 1; //core.MsoTriState objTriState = core.MsoTriState.msoTrue; string strPPTName = @"d:\EDPresentation.pptx"; string strPPTPath = @"D:\PPT-Opty1\PPT-Opty\"; strTemplate = strPPTPath + "Presentation5.pptx"; Application objApp = new ApplicationClass(); _Presentation objPres = objApp.Presentations.Open(strTemplate, core.MsoTriState.msoFalse, core.MsoTriState.msoTrue, core.MsoTriState.msoFalse); Slides objSlides = objPres.Slides; TextRange objTextRng; for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { objSlides.InsertFromFile(strTemplate,count, 1, 1); _Slide objSlide = objSlides[ds.Tables[0].Rows.Count-1]; //for (shpCount = 1; shpCount <= objSlide.Shapes.Count; shpCount++) //{ Microsoft.Office.Interop.PowerPoint.Shape objShape; // foreach (DataColumn dc in ds.Tables[0].Columns) // { // if (objSlide.Shapes[shpCount].AlternativeText.Trim().Equals(dc.ColumnName)) // { objShape = objSlide.Shapes[shpCount]; objSlide.Shapes.AddTextbox(MsoTextOrientation.msoTextOrientationHorizontal, 100, 100, 100, 80); objShape.TextFrame.TextRange.Text = ds.Tables[0].Rows[i][dc.ColumnName].ToString(); } objPres.SaveAs(strPPTName, PpSaveAsFileType.ppSaveAsPresentation, core.MsoTriState.msoTrue); objPres.Close(); objApp.Quit(); }
sai krishna
hi i m creating a predefined template in that i want to bind the database values into the powerpoint using vs2008 in a form of grid i want to display the table values into the powerpoint
sai krishna
Hi to all, I am currently working on vs2008 generating powerpoint presentations. I have a problem in representing the entire set of data into a table using vs2008 in a powerpoint Can anyone suggest me in this matter how to proceed Thanks inadvance
sai krishna
Hi to all, I am currently working on vs2008 generating powerpoint presentations. I have a problem in representing the entire set of data into a table using vs2008 in a powerpoint Can anyone suggest me in this matter how to proceed Thanks inadvance
sai krishna
HI STUART DOOTSON , THANKS FOR REPLYING MY DATABASE IS SQLSERVER AND I AM BULK INSERTING MY XML FILE USING SQLXML3.0 FRAMEWORK . IHAVE A VB SCRIPT LIKE OBJECT.Execute "MYSCHEMA.XSD" , "MYXMLFILE.xml" AM ASLO MAPPING MY XML TAGS WITH SQLSERVER TABLE NAME IN MY XSD FILE <xsd:element name="FIRST-NAME" sql:relation="FIRSTNAME" > xsd:complexType .................... .......................... </xsd:complexType> </xsd:element>
sai krishna
HI, I HAVE A XML FILE WITH HYPHEN(-) IN SOME ITS ELEMENTS FOR EXAMPLE <NAME> <FIRST-NAME>JOHN </FIRST-NAME> <LAST-NAME>MILLER </LAST-NAME> <AGE>25 <AGE> </NAME> I ALSO HAVE XSD FILE VALIDATING THIS XML FILE AND WHEN I BULKINSERT IT IN MY DATABASE ELEMENT NAMES WITH HYPHEN ARE NOT INSERTING <FIRST-NAME>JOHN </FIRST-NAME> , <LAST-NAME>MILLER </LAST-NAME> WHERE AS NON-HYPHEN ELEMENTS <AGE>25 <AGE> INSERTED FINE. HOW CAN I VALIDTE THE HYPHENATED ELEMENTS WITH MY XSD AND THEN INSERT INTO DATABASE. PLS HELP
sai krishna
Hi to All, I am currently working on LINQ with MySql as database, when i write query to fetch the records from the table its giving error no : 1064."The syntax for fetching is not in a proper manner ". Can anyone suggest me the way to resolve this problem Thanks in advance
sai krishna
hi to all, Here i m using master page in tat a tree view control i want to give update progress for each and every treenode changed event. for that i placed the tree view in update panel and passed a trigger like on treenodechanged event. but while executing this its giving err. Error in Executing child request. Thanks in advance
sai krishna
hi to all, I m facing a problem with Ajax modalpopupextender. I'am passing a parameter to the model popup, which gets displayed on the popup, For the next parameter, the popup is not refreshed, still the previous parameter is shown on the popup. Thanks & Regards,
sai krishna
hi to all, i published a website using solutionexplorer in asp.net 2.0 and usually i get the published folder containing the files but today i m unable to get the folder with files after publishing it is giving publish succeeded but there are no files in it how to resolve this problem i m using vss version 6.0 and all folders are checkedin
sai krishna
Dear all, My task is to get the students name and rollno from the database depending upon the course and year and also to bind subject names in the top row with different columns subjects names like Rollno Studentname English Botany Zoology Chemistry 1 s txtbox 2 f txtbox Submit Like the above condition i want to enter marks for students. Can any one of u pls guide me which is the way to do the above process Hope the best answer will come Thanks and Regards
sai krishna
thanks i got it
sai krishna
Dear all, Here i m facing a problem with some group by date here i m getting two rows of a single date for values fetching. if any one wants i can give the code for ur easy answer giving. thank you
sai krishna
But this cannot be done in easier manner so any one can help me many thanks
sai krishna
Dear all, I want some help regarding to higlight the text in the grid which when we provided in a textbox the text should be highlighted wherever the text exists in the grids data Waiting for a reply Thanks in advance.
sai krishna
i only got it < asp:TemplateField HeaderText="Item Count"> <%#Container.DataItemIndex + 1%> Thanks
sai krishna
Here i am facing a problem I m displaying a gridview data in that i want the sno is automatically to be generated for each and every row the grid is binding can any one pls help me Thanks in advance
sai krishna
hi friends, I have a game file(.swf) stored in folder and its path is stored and retieved from database ......i have to click the path link and onclick i have to run the game file ..........pls help me in this regard........ thanks note-am developing my site in asp.net.
sai krishna
Dear all, here i have done a grid node like user control for displaying the items in each and every page in that grid i have a dropdown list for selecting the feature of the item . here i has to fetch the fetch the feature from database and based upon that i has to display. the below i had written but it is not working so please help me Thanks and Regards protected void gridnode1_SelectedIndexChanged(object sender, EventArgs e) { dsfeature = con.GiveDataSet("select features from b2bpattributes ,b2bproducts where b2bpattributes.productgroup in (select productgroup from b2bproducts where productid='" + str2 + "') and b2bpattributes.productid=b2bproducts.productid and b2bproducts.available='Online'"); //select features from b2bpattributes where productgroup in (select productgroup from b2bproducts where productid='" + str2 + "' and available='Online')"); if (dsfeature.Tables[0].Rows[0]["features"].ToString() != "") { if (dsfeature.Tables[0].Rows.Count != 1) { //lblfeature.Visible = false; ddlfeature1.DataSource = dsfeature; ddlfeature1.DataTextField = "features"; ddlfeature1.DataBind(); } else { //lblfeature.Visible = true; lblfeature.Text = dsfeature.Tables[0].Rows[0]["features"].ToString(); ddlfeature1.Visible = false; //lblselect.Visible = false; } } else { ddlfeature1.Visible = false; //lblselect.Visible = false; } }
sai krishna