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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

momoo

@momoo
About
Posts
43
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • coding of deleting user(s)
    M momoo

    Hi..If i save the data, how am i going to delete it?? I mean how to delete from the datagrid table?? Thanks

    Web Development tutorial question csharp database design

  • coding of deleting user(s)
    M momoo

    Hi..i'm doing a web design using C# web application.. Actually, there's two part which i not too sure about the coding.. 1) Is that when i add the data, press save then it will link to a confirm page.. And from there, i can choose to continue to add the data or delete the data and exit to the menu. This is the part i not too sure how can i delete the data.. 2) The user add his data, press save, everything is stored in the database and then he can delete this from the datagrid table.. From the datagrid table, i have goes to the property bulider --> columns --> button column --> select, edit, update, delete and all my datafields.. But now how can i delete or edit the user(s) Thanks for the help.. =) Can anyhow help me how to code it or who has done it give me example of it ?? Thanks!! ;) Cheers!!

    Web Development tutorial question csharp database design

  • [Message Deleted]
    M momoo

    [Message Deleted]

    Web Development

  • Logout code..
    M momoo

    Hi, everyone.. I just started learning C# web application not long ago.. I like to enquire that if the user wants to logout of the web page/site, what is the code for the logout command when i click on the logout button?? Sorry as my question is too simple for you guys.. But thanks for the help.. ;) Thanks

    C# question csharp help learning

  • Help on ascx
    M momoo

    Hi everyone.. I need urgent help from those who have use ascx file before. I'm currently learning C# web application. I would like to design my web page using C# web application which has navigator bar on the web page..And from there i can select from the navigator bar which page i wants to view. I know that ascx file can used to design web page. Anyone who has done it before don't mind share with me or where can i get the source code? I'm now only required to use Mircosoft Visual Studio .NET 2003. Many thanks in advance for your help... :-D Thanks

    Web Development csharp visual-studio design help question

  • web application design
    M momoo

    hi dotnethead, thanks for your reply. But currently i'm only allow to use Mircosoft Visual Studio .NET 2003 to do my web page. Is there any way that i can do it using 2003 program.. Or other methods which i can easily create a navigation bar? Thanks!! Cheers!

    Web Development help csharp design learning

  • Help!! Capture user login date and time
    M momoo

    Hi..Thanks for your reply.. How should i actually write it?? Cheers!

    C# help csharp design question

  • Help!! Capture user login date and time
    M momoo

    Hi.... I'm currently doing a program using C# web application. I have some problem going on. I design a login web page, if i now need to capture the time and the date of the user once they login, how the code should be written??Below is my code: SqlConnection conn=new SqlConnection("my connection string"); string strSql="select count(*) from Particulars where UserName=@UserName and Password=@Password"; conn.Open(); SqlCommand command=new SqlCommand(strSql,conn); command.Parameters.Add("@UserName", SqlDbType.NVarChar,50); command.Parameters["@UserName"].Value=TBUserName.Text; command.Parameters.Add("@PassWord", SqlDbType.NVarChar,50); command.Parameters["@Password"].Value=TBPassword.Text; if(int.Parse(command.ExecuteScalar().ToString())>=1) { Response.Redirect("menu.aspx"); //exist,successful; } else { Response.Redirect("login.aspx"); //not exist,failed! } conn.Close(); Anyone can help me take a look and tell me how should i write the code to capture the user login time and date. Thanks for your help! Cheers!

    C# help csharp design question

  • Can anyone help me take a look at my code?
    M momoo

    Hi,J4amieC.. Below is my code which i have changed.. But somehow when i run the program, the database does not show out when i click on the date. Is there's anything wrong or i still missing on some part?? DateTime selectedDateTime = CAL1.SelectedDate; SqlConnection conn=new SqlConnection("my connection string"); SqlCommand cmd = conn.CreateCommand(); cmd.CommandText = "SELECT * FROM Particulars WHERE DateField = @Date"; cmd.Parameters.Add("@Date", SqlDbType.DateTime).Value = CAL1.SelectedDate; Thanks for your help!!:) Regards

    C# question csharp database help

  • Can anyone help me take a look at my code?
    M momoo

    Hi, Vikram.. Thanks for replying.. Actually, maybe what i explained is not very clear to you.. But actually, what i wants to do is that i've create a calendar and what i need to do now is that when i click on the date i've select it will show out the database of the user.. Is it clearer for you. As you've mention earlier on that i shouldn't write the ToLongDateString() if i using DateTime.ToString().. Can i ask you, then now how should i write the code so that it'll show out the database when i click on the date. Thanks!! Cheers!

    C# question csharp database help

  • Can anyone help me take a look at my code?
    M momoo

    Hi.. I would like to ask about C# web application.I have created a calendar. I would like to ask that if i click the date on the calendar,how can i retrieve the database ?? I have tried butit seem like is not working. Below is the code, could anyone help me with it as i'm totally lost?? Thanks!! The code: private void Radcalendar2_SelectionChanged(object sender, System.EventArgs e) { TBDate1.Text = CAL1.SelectedDate.ToLongDateString(); SqlConnection conn=new SqlConnection("my connection string"); SqlCommand cmd = conn.CreateCommand(); cmd.CommandText = "SELECT * FROM Particulars WHERE DateField = @Date"; cmd.Parameters.Add("@Date", SqlDbType.DateTime).Value = DateTime.Parse(TBDate1.Text); } I just want to retrieve(view) the user's login/logout time of date we have click on the calendar. Anyone who can help me..You can also edit from here or a new code... Thanks!! :-D Cheers!

    C# question csharp database help

  • web application design
    M momoo

    Hi..I'm currently learning a new language of C# web application which requires me to design a web page just like the link below: (www.nyp.edu.sg) .But my problem is that if i wants to design a menu page just like which i have a navigator bar on top/side, when i on the menu page i can select/click on the navigator bar and goes straight to the adduser page. I'm currently using C# web application program to do. So now i not too sure how the menu page can be done. But i try using .ascx to design my menu page but its not workable.. Is there any simple way which i can design just user menu page (on the navigator bar i have adduser, deleteuser & etc..) Anyone who has done it before mind sharing with me as i'm using C# to design my website.. Thanks for your help... :-D Cheers!

    Web Development help csharp design learning

  • css help
    M momoo

    Hi.. I just like to ask that.. I have create the code below under css file: body { background-color: yellow; } .cwMainBorderColor { background-color: #003e56; } .cwSideBarHolder { border-right: white 2px solid; vertical-align: top; width: 2%; background-color: #003e56; } .cwTextBox { font-weight: normal; font-size: 13px; color: black; font-family: Arial, sans-serif; } .cwComboBox { font-weight: normal; font-size: 13px; color: black; font-family: Arial, sans-serif; } .cwCheckBox { font-weight: normal; font-size: 13px; color: black; font-family: Arial, sans-serif; } .cwRadioButton { font-weight: normal; font-size: 13px; color: black; font-family: Arial, sans-serif; } .cwButtonTiny { font-size: 8pt; background-image: url(Images/Buttons/b_tiny.gif); width: 40px; cursor: hand; color: #2a5f86; border-top-style: none; background-repeat: no-repeat; font-family: Verdana, Arial, Helvetica, sans-serif; border-right-style: none; border-left-style: none; height: 27px; border-bottom-style: none; } And i have also put the stylesheet to the aspx page inside the tag as below.. .... .... But somehow it dosen't work at all!! When i run the aspx it show nothing at all.. Am i missing out on somthing?? Thanks for your help.. Cheers!

    Web Development csharp css help

  • css help
    M momoo

    Hi.. I'm currently like to do a menu page using C# web application. On the menu page itself i will like to use css(cascading style sheet) and do. From there then i like the page to .aspx. I would like to ask if anyones has done css or who knows it, don't mind share with me as i using css file for the 1st time. Thanks!! Cheers!

    Web Development csharp css help

  • urgent Help on C#
    M momoo

    Hi.. I'm currently doing a web design on the calendar using C# web application.I have created a calendar. I would like to ask that if i click the date on the calendar, can i retrieve the database?? I have tried several times and it seem like is not working. Below is my code, could anyone help me that if i missing on any parts?? Thanks!! My code: . . . using System.Data.SqlClient private void Calendar1_SelectionChanged(object sender, System.EventArgs e) { TBDate1.Text = CAL1.SelectedDate.ToLongDateString(); SqlConnection conn=new SqlConnection("put my connection string here"); string seldate = "Select * from Particulars where DateField = '" + TBDate1.Text + "'"; SqlDataAdapter DA = new SqlDataAdapter(seldate,sqlConnection1); DataSet DS = new DataSet(); DA.Fill(DS); DataTable DT = new DataTable(); DataGrid1.DataSource=DS.Tables[0].DefaultView; DataGrid1.DataBind(); } Thanks for your help..;) Cheers!

    C# csharp database design help question

  • Help on C#
    M momoo

    Hi everyone.. I'm currently doing a web application using C# which i'm unfamiliar with the prgram. I need urgent help~ My problem is that if i retrieve the database, how can i select, edit or delete the particulars from the database which i select? Anyone who know how to code it?? I have tried several times and it seem like is not right.. Your help is greatly appreciated.. Thankz.. =) Cheers!

    C# help question csharp database tutorial

  • Urgent Help on C#~~
    M momoo

    Hi everyone.. I'm currently doing a web application using C# which i'm unfamiliar with the prgram. I need urgent help~ My problem is that if i retrieve the database, how can i select, edit or delete the particulars from the database which i select? Anyone who know how to code it?? I have tried several times and it seem like is not right.. Your help is greatly appreciated.. Thankz.. =) Cheers!

    Web Development help question csharp database tutorial

  • select date into the textbox
    M momoo

    Hi.. I'm currently doing a web design on the calendar. I would like to ask that if i click the date on the calendar, how can i make it appear on the text box once i click on the date? I have tried several ways of doing it but it does not show out. Did anyone know how to call the date out onto the textbox? Your help will be greatly appreciated.Thank :laugh: Cheers!

    C# question design help tutorial

  • select the date
    M momoo

    Hi.. I'm currently doing a web design on the calendar. I would like to ask that if i click the date on the calendar, how can i make it appear on the text box once i click on the date? I have tried several ways of doing it but it does not show out. Did anyone know how do it? Your help will be greatly appreciated.Thank :laugh: Cheers!

    C# question design help

  • Select calendar
    M momoo

    Hi.. I'm currently doing a web design on the calendar. I would like to ask that if i click the date on the calendar, how can i make it appear on the text box once i click on the date? I have tried several ways of doing it but it does not show out. Did anyone know how to call the date out onto the textbox? Your help will be greatly appreciated.Thank :laugh: Cheers!

    Web Development question design help 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