Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

micydon

@micydon
About
Posts
20
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Cann't send email and attachment thru asp.net 2003 using smptserver="localhost" [modified]
    M micydon

    i hve gven only local host. there is no error message shown but iam not getting email in my inbox

    ASP.NET csharp asp-net graphics design sysadmin

  • Cann't send email and attachment thru asp.net 2003 using smptserver="localhost" [modified]
    M micydon

    Hi My requirement is i have an application form which has entries like name,dob,qualification,exp and upload resume(file field). when somebody fill this form, upload his resume and press submit ,i want these details and resume to get in my yahoomails inbox. but when i try this with local host it doesn't work i hve given the ip address in default smptservers relay button. i am using asp.net 2003 can anybody pls help me why i am not getting this correctly.Below i am giving the code i hve used Imports System Imports System.Data.OleDb Imports System.web Imports System.IO Imports System.Web.Mail Imports System.Web.SessionState Imports System.Collections Imports System.ComponentModel Imports System.Drawing Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.HtmlControls Function FncSubmit() Dim szSQL As String Dim objdr As OleDbDataReader Dim icnt As Integer Dim sapplnno As String Dim szFileBiodata As String Dim szfile As String Dim iapplnno As Integer Dim attach1 As String Dim objEmail As New MailMessage objEmail.To = "abc@yahoo.co.in" objEmail.From = txtEmail.Text objEmail.Subject = txtName.Text & "," & txtQualif.Text & ", " & txtExp.Text objEmail.Body = "hi" If Not file1.PostedFile Is Nothing Then Dim attFile As HttpPostedFile = file1.PostedFile Dim attachFileLength As Integer = attFile.ContentLength If attachFileLength > 0 Then szfile = Path.GetFileName(file1.PostedFile.FileName) file1.PostedFile.SaveAs(Server.MapPath(szfile)) Dim attach As MailAttachment = New MailAttachment(Server.MapPath(szfile)) ' Attach the Newly created email attachment */ attach1 = szfile objEmail.Attachments.Add(attach) End If End If objEmail.Priority = MailPriority.High SmtpMail.SmtpServer ="localhost" Try SmtpMail.Send(objEmail) 'MessageBox.Show("Your feedback has been submitted.") MessageBox.Show("Your application is submitted") Catch exc As Exception MessageBox.Show("Failed to submit your feedback: ") 'MessageBox.Show(exc.ToString()) Response.Write(exc.ToString()) End Try If attach1 <> "" Then

    ASP.NET csharp asp-net graphics design sysadmin

  • Menu control in ASP.NET 2.0
    M micydon

    Hi, I hve created a menu like item Product it1 p1 it2 p2 it3 p3 I created this menu by edit menu property. Now My problem is i want to disable an item according to a condition. For eg. i hve to chek whether this product p3 is in stock table of dbase. if it is not there then i want to disable P3 .I hve seen some XML related articles but i dont know XML . How can we disable an item in menu. I tried for e.item.enabled =false. But that too didn;t work .How can i do this. Please help me Thanks in advance With regards anitha

    ASP.NET help csharp asp-net xml question

  • Need query
    M micydon

    Hi My requirement is i hve 4 tables Specmast(specification,wgt,min) specgen(specification,wgt,min) specem(specification,wgt,min,em) specdes(specification,wgt,min,desg). All the specification i hve stored in the first table. Now what i want is in specgen i hve to get those specification details from specmast which are not in specem and specdes. How can i give query for this Pls help me this is very important Thanks in advance Regards Micydon

    Database database help question

  • Connection problem pls help
    M micydon

    Hi I am using asp.net 2003(vb code behind). I hve given the connection in web.config like this when i changed the data source to another server this is working properly in a lan network i hve uploaded my project to a site for eg. if i give like www.mysite.com/login.aspx then if i enter the user id and password wht i want is i hve to access the local systems sql database( i want to get data from the database test whose connection i give above). But this is showing error as object reference not set. What should i do now to Any body pls help me to resolve this problem.do i give any other thing in the connection string Thanks in advance with regards anitha

    Database help database sysadmin csharp asp-net

  • Question about dll in .NET 2005
    M micydon

    Hi I hve created an online project using .NET 2003,Now I hve converted it to .NET 2005 (I am new to .NET2005) But when i converted it to 2005 the .dll is not in the bin folder. I tried to create an ASP.NET web project its showing APP_code folder, aspx and aspx.vb pages, and web.config. There is now global.aspx, bin folder etc. In that also there is no dll created. Wht happen to the dll and also what is this APP_code's purpose. When i debug my application using .NET 2005 the "http://localhost:1088/myproj/login.aspx" I hve created virtual directory but the port no is changing each time i debug the project how can i solve that earlier i hve to type http://localhost/myproj/login.aspx Can pls any body help me to solve this prblem its very important Thanks in Advance With regards Anitha

    ASP.NET question csharp asp-net debugging help

  • Doubt abt Session time out expired
    M micydon

    Hi I am using ASP.NET with VB as code behind. In my application i hve set the session time out to 70m. So after 70 m if my application is idle the session get expired. I dont want to give any limit to this time out. ie, i want my application to be alive, if more than 70m it was kept idle, Is there any method for not specifying any timeout limit . Wht will happen if we dont give that time out stmt in web.config. pls help me this is very urgent Thanks in advance With Regards anitha

    ASP.NET csharp asp-net help

  • How to give keywords in a query in .NET
    M micydon

    See i want to retrieve data from mytab according to the date. Like "Select * FROM mytab WHERE date='01/30/2005'" see while using sql i hve given the keywords in brackets like,[date],[user] etc. But i want to know how this is to be done if i use Sybase database.Please help me With Regards Micydon

    ASP.NET database help csharp asp-net tutorial

  • How to give keywords in a query in .NET
    M micydon

    Hi I am using ASP.NET and VB as code behind. My database is Sybase. and sql. Now my problem is i want to use a select query where one fields name is date(this is keyword in Sybase). when i used sql i hve given this like "Select * from mytab where [date]='04/30/2007'" but this doesnt work for sybase . Can anybody pls help me how to use the keywords in query's Thanks in advance with regards Anitha

    ASP.NET database help csharp asp-net tutorial

  • Database ConnectionProblem
    M micydon

    Hi, I am using Asp.net and vb as code behind. I want to connect to Sybase database. I am using sybase sql anywhere . I hve draged and droped odbcconnection and odbc adapter and dataset but nothing is displaying. if i give odbcadapter1.Fill(dataset11) its showing error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Pls tell me how can i specify the connection sting and how to connect to sybase database Can anybody help me plsssssss. Thanks in Advance Thanks and regards

    .NET (Core and Framework)

  • Exporting datagrid to pdf format
    M micydon

    Hi, Can anybody please tell me how can we export data from datagrid to a pdf file.I hve done exporting data from datagrid to excel and word. Please let me know if anybody is having any idea to do with pdf. Thanks in advance Thanks and Regards

    ASP.NET

  • problem in commit &amp; roll back [modified]
    M micydon

    Hi anybody pls help me its very urgent I am facing a problem while doing commit & roll back in one of my pages. My problem is i have to upload data from one database(accounts) to another say Gaccounts programmatically. In my web.config i wrote 2 connections by name con(for database accounts), con1(for Database-Gaccounts). Then in my program i am using commit & roll back. I have to check the code from ledger table (say 0003) with code in accounts table if it exist then i have to check whether that code exits in accounts table of gaccounts database. If it is not there I have to add more value in the code like (0003tvm) and then create a row in accounts table of gaccounts database with this new code. This much am not feeling any problem. Now I have to update this new code back in accounts table of accounts database. .here the problem comes if roll back happens then also updating of this code take place Creating complete error .I am giving database details in a class file. In this project I used 2 class files say objdb-representing accounts and objmdb-for gaccounts. ‘This is the code I am using for roll backing Dim objCon1 As New oleDbConnection(ConfigurationSettings.AppSettings.Get("con1")) Dim objCmd As New OleDbCommand Dim objTran As OleDbTransaction objCon1.Open() objTran = objCon1.BeginTransaction objCmd.Connection = objCon1 objCmd.Transaction = objTran Try ****** I have given the code for updating as ******* 'sSQL = " Update accounts set txtmastcode='" & snewcode& "'WHERE txtcode='" & objdr("txtcode") & "'" ireturn=objdb.executenonquerry(ssql,objdb.opendb) objTran.Commit() Catch ex As Exception objTran.Rollback() MessageBox.Show("Transaction failed. Contact Administartor") MessageBox.Show(ex.Message().ToString()) Finally objCon1.Close() objCmd.Dispose() End Try Please anybody help me , this is very urgent. -- modified at 13:25 Wednesday 24th January, 2007

    ASP.NET help database announcement

  • Printing a page
    M micydon

    hi My problem is i hve loaded a datagrid with 100 lines of data frm database. now i want to take print by clicking the print button. My data grid will show only 25 items at a time, after that i hve to go for next button. But i want to take print out of the whole 100 lines. how will i do this. is there any source code for taking print.pls help

    ASP.NET help css database

  • Update query [modified]
    M micydon

    Pls anybody help me. i hve to update a feild( say rcvd) in receivables table from taking the feild(amount) from allocation table. i give the query like this" update receivables,allocation set rcvd=rcvd+amount where receivables.no=allocation.no " i want to know whether we can give 2 table name in update query if so then the syntax when i give the above i am getting error.pls help me its urgent -- modified at 4:31 Saturday 20th January, 2007

    Database help database announcement

  • To upload a local database tables to internet database
    M micydon

    Sir, Thanks for helping me I am new to asp.net so its very difficult for me to understand. can you pls explain this.Wht is csv, dts. pls help me its very important

    Database help csharp asp-net database

  • To upload a local database tables to internet database
    M micydon

    Hi I am facing a problem. I want to upload data from my local database to internet database(like exporting data) using an asp.net web page.I hve to delete all the data in internet database. That i ve done correctly. Now i want to know wether there is any method for exporting data from local database to internet database . When a asp.net button is clicked the local database's values must be loaded ito internet database . pls help me .

    Database help csharp asp-net database

  • How to do search in a datagrid?
    M micydon

    Hi guys I hve problem while using datagrid.The datagrid is binded with items details from database's item table.Now wht I want to do is to search for an item. I am using a textbox and if i typed an items name in this textbox, I want to point the cursor to that particular item in datagrid .can anybody give a soln for this pls...

    ASP.NET database help tutorial question

  • How to insert data into database from data set or datatable
    M micydon

    Hi I hve loaded a data table with values from a database. I want to insert these values into another table in database. How can we insert data directly from datatable into database. Can anybody help me to solve this problem.

    ASP.NET help database tutorial

  • Resizing of datagrid in web application [modified]
    M micydon

    Hi Pls any body help. The problem i am facing is, i want to resize a datagrid in web application using ASP.NET and VB as code behind. Pls help me any body Know .In the datagrid i hve to display values from database. I found a method in windows application but want to know whether ther is any method in web appln. -- modified at 12:42 Wednesday 26th July, 2006

    ASP.NET help csharp asp-net database

  • To resize a datagrid(web appln using asp.net) in Vb.net
    M micydon

    How to resize a datagrid at run time using Asp.net and VB as code behind.

    ASP.NET csharp asp-net tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups