Yes sir it's very difficult understand about the forms Authentication, I have used many time in live project, but every time new problem faced.After some searching on google some idea get, then resolve problem. I used every time web config Authentication, it's simple according to me.
joginder banger
Posts
-
Built in authentication -
Display the server time and refresh every 1 sec using Javascript in asp.netI think you know java script is work on client side. I think ajax control will be help you.
-
Backbonetry this link http://backbonejs.org/[^]
-
mobile applicationsearch on google with this link let me google
-
Reg: To help for Asp.netI am really confused with your question :doh:. What's you want?????. if you want only one Question list List like that MCQ OR Fill in the Blank or True/False. Simple Create a DropDown Event SelectedIndexChanged. i have post below a simple snippet code understand this and try again
protected void Your_DropDownName_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
if(Your_DropDownName.SelectedValue=="MCQ")
{
//code of MCQ
}
else
{
// code of Fill the Blank
}
catch (Exception ex)
{
MessageBoxx(ex.Message, Page);
}}
I hope your some doubt is clear. for more information and Query reply to hit option. Happy Coding ;) ;)
-
How to like pages of my website using C# and asp.netyour Question is not a clear, I want clear you before post my answer if you have a some problem share more and clear information.I think not enough information understand your problem. I try help you without understand your problem. try this link http://api.jquery.com/category/ajax/[^]. :doh:
-
Diiferenceof course this is a basic question, But if you want really know what's is difference between this, I am try clear you confusion. First of All what is the Role of System. we can say System is main DLL or Parent DLL. When we are using the
using System;
system automatic call this DLL. you can seen many DLL call by default in Code Behind Page like this
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
using System.Data;When we not used the Using System; Our system compiler Generate the Error like that
The type or namespace name 'EventArgs' could not be found (are you missing a using directive or an assembly reference)
why we again Repeat this world System.Console.output. sorry I have no time more for explain. try understand itself. Happy coding :confused: jsb
-
Allow / Deny IP Address via Web.configHI you can do as you want with the help of IIS7. Some simple step follow and deny any IP address. for more information check this link http://technet.microsoft.com/en-us/library/cc730889.aspx[^] and one more link this http://stackoverflow.com/questions/6812324/iis7-question-about-blocking-all-ip-addresses-from-accesing-my-site[^]
-
I want column wise gridview pagingI am not try this type but i sure this link will be help you. try this link http://forums.asp.net/t/1274497.aspx[^]
-
auto complete with ajaxcontroltoolkit and ado.netI have used many time auto complete Extender. I check out your code behind file.
[WebMethod]
public static string[] City(string prefixText, int count, string contextKey)
{DataTable dt = new DataTable(); dt = Bal\_BindingData.\_city(prefixText);
//_city is dataTable type function with the string type parameter.just add the String Contextkey in your GetCompletionList method.
string\[\] movies = new string\[dt.Rows.Count\]; for (int i = 0; i < dt.Rows.Count; i++) { movies\[i\] = dt.Rows\[i\]\["City"\].ToString(); } return movies; }
i think you forgot string Contextkey Parameter in GetCompletionList method. don't confused my with code i have used three tire technique. I hope your problem has been solved. :laugh: jsb
-
Asp.net datalist controlI here mention a complete code below in Data List Add,Remove and Update.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;public partial class mytesting : System.Web.UI.Page
{protected void Page\_Load(object sender, EventArgs e) { if (!IsPostBack) { GetData(); } } private void GetData() { SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=jogi;Integrated Security=True"); try { con.Open(); SqlCommand cmd = new SqlCommand("select \* from jogi2", con); SqlDataAdapter da = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds); DataList1.DataSource = ds.Tables\[0\]; DataList1.DataBind(); } finally { con.Close(); } } protected void DataList1\_EditCommand(object source, DataListCommandEventArgs e) { DataList1.EditItemIndex = e.Item.ItemIndex; GetData(); } protected void DataList1\_CancelCommand(object source, DataListCommandEventArgs e) { DataList1.EditItemIndex = -1; GetData(); } protected void DataList1\_UpdateCommand(object source, DataListCommandEventArgs e) { String id = ((Label)e.Item.FindControl("Label3")).Text; TextBox role = (TextBox)e.Item.FindControl("TextBox1"); TextBox password = (TextBox)e.Item.FindControl("TextBox3"); SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=jogi;Integrated Security=True"); con.Open(); SqlCommand cmd = new SqlCommand("update jogi2 set role='" + role.Text + "',password='" + password.Text + "'where id ='" + id + "'", con); int i = cmd.ExecuteNonQuery(); if (i > 0) { Label4.Text = "Recard Updated successfully...."; GetData(); } } protected void DataList1\_DeleteCommand(object source, DataListCommandEventArgs e) { String id = ((Label)e.Item.FindControl("Label1")).Text; SqlConnection con = new SqlConne
-
menu strip in right sidejust simple, I think you can try this.
alignment = right
-
.net4.0A google search revealed this: try this[^] I remember using the info there to get it working on my server (I have since changed over to IIS7). Google is your friend. another try this link oject.com">http://www.mono-project.com[^]
-
Select from one database table where column value equals a column value in a different databaseyou can solve your problem with the help of SQL join(Inner Join).Sql Join on W3school
-
Problem of Answer Down Voting..this is a wrong way, ok sir.
-
Problem of Answer Down Voting..I want when any buddy goes to Answer Down voting, it must be write a Reason of answer down voting. must validation apply.
-
to get the exact answer for the asp.nettry this link, I hope this video clear a lot of confusion about asp .net and Sql. Try this
-
How can pass a value one form to another from with the help of Java Script??Hi this is my first question on code project. I am in problem, I have a one pop j-query in this pop have two text form and two's button. I have try with the help of session but i failed. plz tell me how can done this.
-
Trying to use ASP.NET Custom validator for conditional validationyou can make the validation group in every radio button and also with in Drop down list. IF you when submit button click check the every validation group, if any validation throw false your button not working. I hope Validation Group help solve your problem.
-
Codeproject vs stackoverflowit's my opinion both are best Stackoverflow:-this website is provide best solution any type of problem, like that math,Desktop and so. more advance user then a code project use. code Project:- Best site for me i pick up a complete solution, articles good understanding with simple language one more advance thing is articles with example. In my office more guy's are used codeproject