-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: vipin_gkv
Message 4 in Discussion

Hello Govind,                       This problem occours with every Database enabled 
Application                       downloaded from web.Though the owner has Not 
restrict us                       from Reusing it.I am not able to Write on DataBases. 
                      If I make any attempts to write I see  a Locked Db               
        File appears.with the Original Db file.                      When I see the 
Tools -> Security ->User Permissions Then                       I see That the Db file 
is Not Read Only.                      Here Is the Code to Subitt a New Query In a 
Forum(discussion                      Board). Its Cumbersome Cut and paste in NotePad 
to see                     It Properly     public void Submit_Click(Object sender, 
EventArgs e) { //proceed only if all the required fields are filled-in 
if(Page.IsValid){ DateTime now = DateTime.Now ; errmess.Text="" ; string req = 
"name="+ System.Web.HttpUtility.UrlEncode(name.Text, System.Text.Encoding.UTF8); 
req+="&&email="+ System.Web.HttpUtility.UrlEncode(email.Text, 
System.Text.Encoding.UTF8); req+="&&subject="+ 
System.Web.HttpUtility.UrlEncode(subject.Text, System.Text.Encoding.UTF8); //Get the 
HostAddress of the Author req+="&&ip="+ 
System.Web.HttpUtility.UrlEncode(Request.UserHostAddress.ToString(), 
System.Text.Encoding.UTF8); req+="&&date="+ 
System.Web.HttpUtility.UrlEncode(now.ToString(), System.Text.Encoding.UTF8); 
req+="&&message="+ System.Web.HttpUtility.UrlEncode(message.Text, 
System.Text.Encoding.UTF8); //A 'yes' is used below to tell the postmessage page that 
this is a new topic post req+="&&newpost="+ System.Web.HttpUtility.UrlEncode("yes", 
System.Text.Encoding.UTF8); //call the postmessage.aspx page and append the query to 
it. Response.Redirect("postmessage.aspx?" + req); } else { errmess.Text="Fill in all 
the Required Fields before Posting!
" ; } }  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to