The first call from a cell phone was made 40 years ago today[^] 40 years really passed??!!
taha bahraminezhad Jooneghani
Posts
-
The first call from a cell phone was made 40 years ago today -
Samsung Buddies Up With Mozilla on New Android Browser Tech -
WP8 developingthank you
-
WP8 developingyes dude! but I don't expect for WP8 , I just know about win8 and RT!
-
WP8 developingFor now, I'm interest in WP7 but since yesterday when Microsoft announce the WP8 , I need a little help: when WP8 SDK and WIN RT release? which resources can I use for developing applications on New WP?
-
asp.net page renameUse url mapping into your config file!
<urlMappings enabled="true">
<add url="~/home" mappedUrl="~/default.aspx" />
<add url="~/about" mappedUrl="~/about.html" />
<add url="~/contact" mappedUrl="~/contact.aspx" />
</urlMappings>you can map your lost page to existing page!
-
asp.netYes You Can! :omg:
-
i need your assistancefirst of all try to make something! then after that if you get in trouble and you can't find it in google searches then ask a question! start from first step! make a page , with some text box , that give the user information , a button that submit , a table in database! if you just start it the first question is: how can I access to my database? this is how question made in your mind! Just start and then ask question!
-
Grid in ASP.NetI think Telerik is the best! its rad grid have a wonderful Facilities filtering for every column with to many filter, and grouping by drag and drop , handling too many scenario , and perfect examples and documents!
-
DropDownList is giving following error : System.NullReferenceExceptionyou can't use .ToString() method and set it to a null value,
GridView1.DataKeys[e.RowIndex].Values[0]
is passing a null value! set DataKeys for your gridview! -
asp.netthis could help you , there is a pdf for download too! understanding asp.net ajax localization[^] and globalization[^] and this:writing globalized and localized web applications in asp.net/[^]
-
convert part of a list to an arraylist items have a index, you can use
for
for selecting 100 item, or if you looking at some value in items uselist.Where(p => p.StartsWith("s"))
in a Foreach loop.some thing like this:List<string> lsi = new List<string>();
lsi.Add("sara");
lsi.Add("soo");
lsi.Add("kabab");
foreach (var item in lsi.Where(p => p.StartsWith("s")))
{
Response.Write(item);
} -
How to add checked items from checkboxlist to listboxprotected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e)
{
ListBox1.Items.Add(CheckBoxList1.SelectedItem);
}you have to add a ListItem in add method not a string! and listbox selection mode should be multiple!
-
About AspxGaugesI think you are running into CASPOL issues as your content resides on a remote share see this link: "System.Security.SecurityException: Security error" error message when the virtual directory points to a remote share in ASP.NET[^]
-
asp.net c# textbox arrayResponse.Write(txt1.text+txt2.text+txt3.text);
-
2010 web form problemthis kind of error happens sometime in coding, set break point that part commented, and give us some code snippet!
-
ASP.Net Logout issuewhen the users log on set a session for your users, and check session in target pages, and when user log out just remove that session!
Session.Add("userID",ID);
Session.Remove("userID");for checking session:
if(Session["user"]!=null)
{
//do your works
}
else
{
Response.Redirect("default.aspx");
} -
Gridview in Repeateryou can't set to table for repeater datasource, set it as one, or if you need each of them, use view in sql database, or use union linq method, that get it in one source! like this:
var ds = (table1)Union(table2).ToList();
repeater1.DataSource = ds; -
WCF service as Windows Servicefirst remove that port and then reserve it again, or change your port, maybe its allready reserved by another service!
-
send SMS in C#as you live in iran same as me, you can use some company web services to send sms via your web application. if you buy a web service , they give you a uri of service, and you just need to add web reference to your reference folder, and in your code, you just need to make a new method of that, and pass some param to web service. this my code:
var b = new ArrayOfString();
b.Add("با تشکر از شما جهت ایجاد اشتراک در سایت هلال. کد اشتراک :" + txtSubsCode.Text + "از این پس میتوانید جهت سفارش غذا با شماره:4242998 تماس حاصل نمایید.\n" +"لیست غدایی ما در بخش منوی سایت موجود میباشد");
var c = new ArrayOfString();
c.Add(submit.MobileNo);
var aaa = new sms.sendSmsWebServiceSoapClient();
aaa.sendSms("test", "password", "username", b, c, 1, "30008672");