Jump to content

nemo

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by nemo

  1. nemo

    popup balloon

    I need help to create popup balloon when a mouse hover a button. I was able to create box but it alwyas at the upperleft corner of the page.Can anyone help me .Thanks
  2. nemo

    dragdrop

    Hi,I have form should be devided into two parts one of them has pictures and the other is picturebox . How can I draganddrop the pictures to the picturebix area. Also It could be more than one picture dropped . i don't want to override the old oneThanks
  3. nemo

    publish my project

    Hi, I'm new to the .net I created a project and it is working fine . now I want to publish it on the serevr so people in my work place can access it. Th project is about event registration thanks
  4. I'm trying to insert a new record from the grid but. but I don't know where the exception part should be placed to trap the errors . the field shouldn't be empty or it should numeric field ... etc.I'm using net 2.0Thanks
  5. I'm writing an application where collect registration/survey information and stored on access database . Now I need to send the applicant confirmation e-mailDoes any one know if there is a code is available any . I'm using .net 2.0Thanks
  6. thanks anyway if I figured it out I'll post the sokution
  7. eventdb points to the physical database on the local drive. I'm not sure but I have the fellimg that the problem in the VALUES ( @lstName,@firstname,@suff) because if I tried VALUES ( 'last test','first test','suff test') that will work fine and add record to the table
  8. I'm getting Exception Details: System.Data.Odbc.OdbcException: ERROR [07002] [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 3.
  9. I'm tying to add to access database but I'm always getting an error. but if I changes the variavles in the VALUES by constants it worked fineAny help is appriciatedhere is the code<script runat="server">Private Sub Insertguest(ByVal Source As Object, ByVal e As EventArgs)SqlDataSource1.Insert()End Sub ' Insertguest</Script><html xmlns="http://www.w3.org/1999/xhtml" ><head id="Head1" runat="server"><title>Untitled Page</title></head><body> <asp:SqlDataSourceid="SqlDataSource1"runat="server"ProviderName="System.Data.Odbc"DataSourceMode="DataSet"ConnectionString="dsn=eventdb;"SelectCommand="SELECT GuestLastName, GuestFirstName, Guestsufix FROM guest"Insertcommand="INSERT INTO guest (GuestLastName,GuestFirstName,Guestsufix) VALUES (@lstName,@firstname,@suff)"><insertparameters><asp:formparameter name="lstName" FormField="SPLastname" Type="String" /><asp:formparameter name="firstname" formfield="SPFirstName" Type="String" Size="22" /><asp:formparameter name="suff" formfield="SPSuffix" Type="String" Size="22" /></insertparameters></asp:SqlDataSource><p><asp:Button ID="spsubmit" runat="server" Style="z-index: 106; left: 35px; position: absolute;top: 421px" Text="Sumit"onclick="InsertGuest" />
  10. I'm tying to add to access database but I'm always getting an error. but if I changes the variavles in the VALUES by constants it worked fineAny help is appriciatedhere is the code <script runat="server"> Private Sub Insertguest(ByVal Source As Object, ByVal e As EventArgs) SqlDataSource1.Insert() End Sub ' Insertguest</Script><html xmlns="http://www.w3.org/1999/xhtml" ><head id="Head1" runat="server"> <title>Untitled Page</title> </head><body> <asp:SqlDataSource id="SqlDataSource1" runat="server" ProviderName="System.Data.Odbc" DataSourceMode="DataSet" ConnectionString="dsn=eventdb;" SelectCommand="SELECT GuestLastName, GuestFirstName, Guestsufix FROM guest" Insertcommand="INSERT INTO guest (GuestLastName,GuestFirstName,Guestsufix) VALUES (@lstName,@firstname,@suff)"> <insertparameters> <asp:formparameter name="lstName" FormField="SPLastname" Type="String" /> <asp:formparameter name="firstname" formfield="SPFirstName" Type="String" Size="22" /> <asp:formparameter name="suff" formfield="SPSuffix" Type="String" Size="22" /> </insertparameters> </asp:SqlDataSource> <p><asp:Button ID="spsubmit" runat="server" Style="z-index: 106; left: 35px; position: absolute; top: 421px" Text="Sumit" onclick="InsertGuest" />
×
×
  • Create New...