hi
im new to asp.net and vb.net.
i designed a entry form for a user using details view in asp.net.
i want that whenevr a user enters data, the data goes in the database. this is done. But i want that the server's date and time should automatically go into the database. I tried the :
myRS.DateReport ed = Format(Now, "dd/mm/yyyy hh:mm:ss")
where DateReported is my fieldname. Now what should be the recordset??...
User Profile
Collapse
-
<%@ Page Language="VB" AutoEventWireup ="false" CodeFile="Repor tingPage.aspx.v b" Inherits="_Defa ult" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">... -
transferring?/
hi all,
i have been using MS Access for my database. and designing pages in asp.net also. I am using the OLEDB connection, but i have everywhere read that using SQL is best. I have got installed my SQL Server 2005. BUt don't know how to proceed. Do I have to make my database in SQL all over again?? or can it be transferred?
actually im a bit confused also, I have the SQL Server installed, so where should i write my database?? kindly... -
problem?
hi, thanks for th reply,
I have two problems:
1) i have created a form using details view in asp.net for entering information in the dtabase. I want that when the user enters the information, the server's date shud automatically be added in that record in the databse. Now coding has to be done in asp.net (using VB.net). how should i do it, kindly tell me step by step..
2) I assigned a primary key in the database to... -
Yes i added the list items, dunno y its not working...
here's the code:-
[HTML]
<asp:GridView ID="GridView1" runat="server" AllowPaging="Tr ue" AllowSorting="T rue"
AutoGenerateCol umns="False" DataSourceID="A ccessDataSource 1" EmptyDataText=" There are no data records to display.">
<Columns>
...Leave a comment:
-
no value given....? kindly help
Hi All,
I made a page in asp.net to edit information in the database using gridviewcontrol . It was working fine. Then i entered the template column having dropdown list. now the page opens and and i edit information, When I press update, it gives me an error, "No value given for one or more required parameters". I checked the forum for previous such problems, but didn't help much. Kindly help me....... -
combo box in details view
hi,
i designed a page in details view control in asp.net. for entering information in the database. there is one column in which we have to write yes or no. so i thought of using a combo box. the combo box works in the page but not in the details view panel of the page. i want that while a user enters information he can use a combo box for filling up the information. Can we useit in the details view panel, if yes how and what else coding... -
-
how to add check box and drop lists?
hi,
In my database I had set one column as a checkbox and another one as a dropdown list. But when i designed a page using Grid view in asp.net having access to my database, I cannot utilise the check box and drop down list. So kindly tell me how can i use check box and drop down list in the gridview control of the page. -
hi,
thanks for the reply, one thing more where should i write this code??...Leave a comment:
-
how to add date automatically?
hi,
I have designed a page in asp.net for entering information which is further entered in the database. There is one column of date/time in database, I want that each time new data is entered, the date/time column shud automatically add the present date and time, instead of client entering it.
Kindly help me out. -
details view control
hi,
I am a beginner in asp.net. I am designing a page using details view control in asp.net using VB. The page is about inserting information and then sending it to the database. I want that the records shud be empty, nobody shud be able to view them, Only shud be able to insert information, but in the browser i can view one record. So kindly help me out.
<asp:DetailsVie w ID="DetailsView 1" runat="server"...
No activity results to display
Show More
Leave a comment: