Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags

27 Posted Topics

Member Avatar for new SE

hi.. anyone can help me to convert asp.net program to pdf? before this i'm using this code [CODE]private void ExportGridView() { string attachment = "attachment; filename=Contacts.xls"; Response.ClearContent(); Response.AddHeader("content-disposition", attachment); Response.ContentType = "application/ms-excel"; StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); GridView1.RenderControl(htw); Response.Write(sw.ToString()); Response.End(); }[/CODE] to convert to excel.. …

Member Avatar for 1seo
0
192
Member Avatar for new SE

i want to make a seacrh page using c# in asp.net.. at the first page, i want to display all the record in a gridview..then,after user click a search button, the result will appear in another gridview.. what should i put to visible the previous gridview and display only the …

Member Avatar for crishjeny
0
177
Member Avatar for new SE

hi.. i've review the latest logout and cannot back if BACK button is press.. anyone can help me in clearly how to code it?

Member Avatar for crishjeny
0
131
Member Avatar for new SE

Hi all, i am working on converting the asp.net to pdf file.. now i'm using this code,but it give me an error "Type or namaspace name 'pdfConverter' could not be found".. is there any component i need to install..any help plz? [CODE]PdfConverter pdfConverter = new PdfConverter(); pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4; pdfConverter.PdfDocumentOptions.PdfCompressionLevel …

Member Avatar for crishjeny
0
148
Member Avatar for new SE

hi all, i'm going to make an upload picture into database.. in run successfully but now it will store as [CODE] C:\Users\itdept\Desktop\webmaster\image\Desert.jpg [/CODE] but i just want to make it like this [CODE] ~/image/Desert.jpg [/CODE] is it possible?

Member Avatar for kvprajapati
0
163
Member Avatar for new SE

Hi now, when i download the image, the path will be in this format [CODE]C:\Users\itdept\Desktop\webmaster\image\Penguins.jpg[/CODE] how can i make it save only the filename [CODE]Penguins.jpg[/CODE]? this is my code [CODE] if (FileUpload1.PostedFile != null && FileUpload1.PostedFile.FileName != "") { byte[] imageSize = new byte[FileUpload1.PostedFile.ContentLength]; HttpPostedFile uploadedImage = FileUpload1.PostedFile; uploadedImage.InputStream.Read(imageSize, 0, …

Member Avatar for crishjeny
0
159
Member Avatar for new SE

hi all.. i'm working with slide show extender.. i'm referred to this website [URL="http://www.dotnetspider.com/resources/27734-Ajax-slide-show.aspx"]http://www.dotnetspider.com/resources/27734-Ajax-slide-show.aspx[/URL] on how to make it.. it is completely tell the way to make it but i want to modified it to make it suitable with my requirement.. this is the code [CODE] using System; using System.Data; …

Member Avatar for haseeb1431
0
183
Member Avatar for new SE

Hi all.. i'm working with asp.net c#.. i want to make a chart that can retrieve the data from the database.. i found one website that tell the way to make it but i dont understand the query used.. this the the link [URL="http://www.dotnetcurry.com/ShowArticle.aspx?ID=238"]http://www.dotnetcurry.com/ShowArticle.aspx?ID=238[/URL] and the query is [CODE]SELECT CategoryName, …

Member Avatar for router.exe
0
112
Member Avatar for new SE

Hi I am using Ajax Slide Show extender to show my images. Everything works fine. Now what I want is when the anyone clicks on any particular image it should show them that particular image in another window or popup etc. this is code when user click the image but …

0
92
Member Avatar for new SE

hi, i have a problem with my tabcontainer that once user click the tab, it will not remains the tab but goes to the default tab.. This is my code [CODE] <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager> <cc1:TabContainer ID="MyTabContainer" runat="server" ActiveTabIndex="0> <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Company"> <ContentTemplate> <a href="<%= Page.ResolveUrl("~")%>MASTER/Company_a.aspx" >Company Entry</a>&nbsp;&nbsp;&nbsp; <a href …

Member Avatar for new SE
0
336
Member Avatar for new SE

Hi all.. i want to create a banner in my website using asp.net and ajax.. banner will consist of many banners and have the paging under the banner that moving y itself.. what we call it? i cannot find any other example yet because i dont know the name of …

Member Avatar for new SE
0
75
Member Avatar for new SE

Hi all, i havw make a page for user entry..now i'm uisng [CODE] <asp:RequiredFieldValidator ID="CmpCode" ErrorMessage="*" runat="server" ControlToValidate="txtCmpCode"></asp:RequiredFieldValidator> [/CODE] to make a validation but not enough space.. anybody have any suggestion to make a validation rather than diaplay the error message? i'm thinking about just red bold the textbox but …

Member Avatar for guru_sarkar
0
96
Member Avatar for new SE

Hi all, i'm doing a program using c# in creating an insert page.. i want to insert the zip code into the databse and have been validate using validation expression.. [CODE] <asp:TextBox ID="txtCmpZip" runat="server" BorderStyle="Groove" MaxLength="10" Width="74"></asp:TextBox><asp:RequiredFieldValidator ID="CmpZip" runat="server" ErrorMessage="*" ControlToValidate="txtCmpZip"></asp:RequiredFieldValidator> <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RegularExpressionValidator2"></asp:ValidatorCalloutExtender> <asp:RegularExpressionValidator ID="RegularExpressionValidator2" ErrorMessage="Zip code must …

Member Avatar for new SE
0
750
Member Avatar for new SE

Hi all, i need some help in c# in order to display the attrtibute that is not in the same table.. i have a table COMPANY and CODE..in company table, i have attribute called CmpStatusCode that just display in int (input by ddl which is selectedvalue ex: 1,2,3)..but in CODE …

Member Avatar for siju kuriakose
0
114
Member Avatar for new SE

Hi all, i have a problem with my datagrid attribute "OnPageIndexChanged="gridedit_PageIndexChanged""... for example if i have 2 page and the second page contain only one record.. if i want to delete the record, this error appear.. anyone can help me plz.. [CODE] Invalid CurrentPageIndex value. It must be >= 0 …

0
69
Member Avatar for vinayak.v

Check this link [URL="http://www.developerfusion.com/code/4266/how-to-create-pdf-files-from-aspnet-pages/"]http://www.developerfusion.com/code/4266/how-to-create-pdf-files-from-aspnet-pages/[/URL]

Member Avatar for vinayak.v
0
135
Member Avatar for new SE

Hi all, now i'm working to convert html to pdf in asp.net.. i don't have any idea to make it.. now i have this code to convert it but have a problem.. anybody please help me see thid code or send me link as a guide.. i'm using iTextSharp to …

0
74
Member Avatar for new SE

Hi.. now i'm working with asp.net c#.. i want to view the data from database in the textbox in order to make editing to the data is avaiable..but i'm using user stored procedure.. now this is my code where i want to display the data.. [CODE] <tr> <td class="style1">Company Code …

Member Avatar for new SE
0
3K
Member Avatar for new SE

Hi all, i need some help to carry the data to another page..this is my code to carry the id [CODE] <ASP:HYPERLINK ID="lnkDetails" RUNAT="server" NAVIGATEURL='<%#"Company_vd.aspx?comp_code=" + DataBinder.Eval(Container.DataItem,"CmpCode")%>' TEXT="Details"></ASP:HYPERLINK> [/CODE] it works but i dont know how to use the comp_code on the other page to retrieve other data based on …

Member Avatar for new SE
0
339
Member Avatar for new SE

Hi, i want to display several record from database with data type "date"..but when display, the record displayed in datetime format (default)..what should i do to change the format date..i have tried many thing but it does not work.. now, this is mt coding [CODE] <asp:TemplateColumn HeaderText="Expiry date" HeaderStyle-Width="10%" SortExpression="CmpExpDate" …

Member Avatar for Citation
0
103
Member Avatar for new SE

Hi all..i need some help please..i'm doing a validation using a validation expression..this is use to make a user just input the digit in 5 digit.. i'm using this now but not function [CODE]<tr> <td class="style1">Zip Code </td> <td>:</td> <td> <asp:TextBox ID="txtCmpZip" runat="server" BorderStyle="Groove" MaxLength="5"></asp:TextBox><asp:RequiredFieldValidator ID="CmpZip" runat="server" ErrorMessage="*" ControlToValidate="txtCmpZip"></asp:RequiredFieldValidator> <asp:RegularExpressionValidator …

Member Avatar for samkaraja
0
83
Member Avatar for new SE

Hi, now i'm working to export the gridview in asp.net to xml.. anyone have any idea.. just now,this is my code but there is some error that i can't figure out.. [CODE] Response.ContentType = "text/x-json"; XmlDocument xmlToExport = new XmlDocument(); string toExport = MethodToReturnXMLString(id); xmlToExport.LoadXml(toExport); Response.Write(xmlToExport); xmlToExport.Save("Filename.xml"); Response.End(); [/CODE]

Member Avatar for dnanetwork
0
78
Member Avatar for new SE

hye all.. now i'm doing an insert statement in asp.net using c#.. how i can make a validation for same data entry? anyones can help me? thanks in asdvance...

Member Avatar for new SE
0
74
Member Avatar for missbeginner

hye missbeginner.. i'm having the same problem like you..if don't mind,can u place your latest code here..

Member Avatar for new SE
0
283
Member Avatar for new SE

Hi, once page is display, i want to display all record in gridview from database..in the page also has one button to search..then upon the button search is click, i want to display the result in other gridview and hiding the last gridview..how can i do?

Member Avatar for plusplus
0
87
Member Avatar for new SE

Hi, what should i use to make the data inserted is in all capital letter? here is insert statement: [CODE] string query = "INSERT into Categories values (' " + textbox5_value + " ', ' " + textbox6_value + " ', ' " + textbox7_value + " ' )";[/CODE] strToUpper() …

Member Avatar for new SE
0
100
Member Avatar for new SE

how i can retrive the username from database based on the username and password only to make a welcome at the first page?

Member Avatar for new SE
0
127

The End.