Click here to Skip to main content
15,885,309 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWinForm to WebForm Pin
ginzb7e827-Jul-08 4:39
ginzb7e827-Jul-08 4:39 
AnswerRe: WinForm to WebForm Pin
Christian Graus27-Jul-08 10:20
protectorChristian Graus27-Jul-08 10:20 
AnswerRe: WinForm to WebForm Pin
Ben4511-Aug-08 4:18
Ben4511-Aug-08 4:18 
QuestionGaia Ajax - recommended yes or no Pin
gnjunge27-Jul-08 4:06
gnjunge27-Jul-08 4:06 
QuestionEmail not sending via ASP.NET Pin
Gaurav Mahajan27-Jul-08 2:05
Gaurav Mahajan27-Jul-08 2:05 
AnswerRe: Email not sending via ASP.NET Pin
Venkatesh Mookkan27-Jul-08 16:25
Venkatesh Mookkan27-Jul-08 16:25 
AnswerRe: Email not sending via ASP.NET Pin
Sam Xavier27-Jul-08 21:35
Sam Xavier27-Jul-08 21:35 
QuestionAdding date to database Pin
LiorFil27-Jul-08 0:28
LiorFil27-Jul-08 0:28 
Hi,

I have simple formview that adds data to a database.
I need to add the current date there too, as a string.
inside the <insertitemtemplate> I have a textbox for that date string:

<asp:label id="lblDate" text="Date:" associatedcontrolid="txtDate" runat="server" xmlns:asp="#unknown" /> <br />
<asp:textbox text="<%# Bind("msg_date") %>;" width="220" id="txtDate" runat="server" cssclass="contact_formField" xmlns:asp="#unknown" />


in my onLoad subroutine I have:
Dim msg_date As String
Dim dtNow As DateTime = DateTime.Now
msg_date = dtNow.Date

The question is - how do I make the textbox have the value of msg_date form the onload sub?

(I am new to .net programming, so I apologize if this is total nonsense...)
AnswerRe: Adding date to database Pin
Christian Graus27-Jul-08 10:22
protectorChristian Graus27-Jul-08 10:22 
QuestionRe: Adding date to database [modified] Pin
LiorFil27-Jul-08 11:09
LiorFil27-Jul-08 11:09 
QuestionHelp is needed in coloring some cells of table in a single row Pin
Rameez Raja26-Jul-08 20:05
Rameez Raja26-Jul-08 20:05 
QuestionTEXTBOX FOCUS PROBLEM.....URGENT Pin
amit201126-Jul-08 7:49
amit201126-Jul-08 7:49 
AnswerRe: TEXTBOX FOCUS PROBLEM.....URGENT Pin
Paul Conrad26-Jul-08 17:56
professionalPaul Conrad26-Jul-08 17:56 
Question[Message Deleted] Pin
kjosh26-Jul-08 5:02
kjosh26-Jul-08 5:02 
AnswerRe: Dynamic control Pin
Paul Conrad26-Jul-08 5:09
professionalPaul Conrad26-Jul-08 5:09 
QuestionCMS Pin
Shaahinm26-Jul-08 4:41
Shaahinm26-Jul-08 4:41 
AnswerRe: CMS Pin
Paul Conrad26-Jul-08 5:10
professionalPaul Conrad26-Jul-08 5:10 
GeneralRe: CMS Pin
Shaahinm26-Jul-08 5:21
Shaahinm26-Jul-08 5:21 
Questionhow to connect asp.net 2.0 with oracle 9i/10g Pin
amistry_petlad26-Jul-08 4:04
amistry_petlad26-Jul-08 4:04 
RantRe: how to connect asp.net 2.0 with oracle 9i/10g Pin
Paul Conrad26-Jul-08 5:12
professionalPaul Conrad26-Jul-08 5:12 
GeneralRe: how to connect asp.net 2.0 with oracle 9i/10g Pin
amistry_petlad26-Jul-08 5:43
amistry_petlad26-Jul-08 5:43 
GeneralRe: how to connect asp.net 2.0 with oracle 9i/10g Pin
Paul Conrad26-Jul-08 5:49
professionalPaul Conrad26-Jul-08 5:49 
GeneralRe: how to connect asp.net 2.0 with oracle 9i/10g Pin
amistry_petlad26-Jul-08 5:52
amistry_petlad26-Jul-08 5:52 
QuestionClear Session Pin
venkat86_ece26-Jul-08 3:05
venkat86_ece26-Jul-08 3:05 
AnswerRe: Clear Session Pin
Guffa26-Jul-08 3:57
Guffa26-Jul-08 3:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.