Click here to Skip to main content
14,974,182 members

Comments by Sumit_Pathak (Top 27 by date)

Sumit_Pathak 12-Apr-14 4:20am View
   
i might be accept your answer but i am not clearly understand that how i get particular row and each row will have unique id. +4 for your suggestion.
Sumit_Pathak 12-Apr-14 0:11am View
   
sir, i want to bind id on row but the thing is every row should bind with different id so i pass different ids on every row..@SA
Sumit_Pathak 11-Apr-14 23:35pm View
   
but how to do this i need solution, please help me to getout from this problem @SA
Sumit_Pathak 4-Mar-14 5:51am View
   
may be your database coulmn name and bind coulmn both are mismatches.check properly you will get your answer.
Sumit_Pathak 21-Feb-14 1:02am View
   
what u mean by not supported.give detail description. if u r getting any console error then write that error in your question and also tell us which js library have u used.
Sumit_Pathak 15-Feb-14 6:49am View
   
what is dgvperson..? dgvperson is another gridview..am i right.?
Sumit_Pathak 15-Feb-14 6:47am View
   
it means debug pointer is going inside the if condition.then check the row index number using add watch...
Sumit_Pathak 15-Feb-14 6:26am View
   
show your error
Sumit_Pathak 14-Feb-14 6:01am View
   
if u got exact answer..then dont remember to mark as solution...
Sumit_Pathak 14-Feb-14 5:47am View
   
have u change your query..?
Sumit_Pathak 14-Feb-14 3:32am View
   
debug your code and tell us in which line u r getting this error...
Sumit_Pathak 12-Feb-14 2:01am View
   
chutiyapa...
Sumit_Pathak 7-Feb-14 22:12pm View
   
just put if condition like above code
Sumit_Pathak 7-Feb-14 7:29am View
   
+5 for real time examples..
Sumit_Pathak 5-Feb-14 5:00am View
   
dont understand ur question.give some more detail.which type of control do u want to delete.?
Sumit_Pathak 25-Jan-14 6:38am View
   
Deleted
give us the console bug which u found in ie10..
Sumit_Pathak 24-Jan-14 6:39am View
   
thanks friend now its work in all browser i used below code
data-thumb="@<%# GetImageWithPath(Eval("banner_image"))%>"
+5 for support..thanks a lot..
Sumit_Pathak 24-Jan-14 6:14am View
   
from that code thumbnail images are shows but main banners are not visible..i had checked console but there is no error or warning related that...and also i m getting this warning...Attribute values must be enclosed in quotation marks.
Sumit_Pathak 24-Jan-14 5:42am View
   
thanks for solution..but i didn't get right answer..actually when i add single quote with this then banners are not working in ie8..and it still not working..
Sumit_Pathak 23-Jan-14 3:29am View
   
ya...
Sumit_Pathak 22-Jan-14 4:48am View
   
i think this is the problem in javascript postback..i suggest a link

http://forums.asp.net/t/1636609.aspx?GridView+Page+Index+Changing+Not+Working+in+Firefox+

if still u not found any answer then put gridview in update panel and call gridview with update panel using iframe.
Sumit_Pathak 22-Jan-14 2:11am View
   
do you use update panel in your page..???
Sumit_Pathak 21-Jan-14 1:37am View
   
yes its working in all browsers.i checked it in mozila 26.0 version and its work perfectly...
Sumit_Pathak 10-Jan-14 22:44pm View
   
add this one also smtp.EnableSsl = true;
and then if still got error then follow these links

http://stackoverflow.com/questions/18916057/postfix-530-5-5-1-authentication-required

http://social.msdn.microsoft.com/Forums/en-US/fcde2033-2f83-46d5-911b-767023bfef93/smtpclientsend-gets-smtpexception-551-authentication-required-error?forum=netfxnetcom
Sumit_Pathak 10-Jan-14 4:53am View
   
MailMessage mail = new MailMessage();

// MailMessage mail = new ("dnscubes7@gmail.com", "niya4422@gmail.com");
//here you can set only one email address which means sending mail from your email id
mail.From = new MailAddress("dnscubes7@gmail.com", "dnscubes7@gmail.com");
mail.To.Add(txtname.Text);//this is user email address

SmtpClient smtp = new SmtpClient();
smtp.Port = 587;

smtp.Host = "smtp.gmail.com";
smtp.Credentials = new System.Net.NetworkCredential("dnscubes7@gmail.com", "msquaredrupeshjisha");
mail.Subject = "this is a test email.";
mail.Body = "Here is your username and password :" + txtname.Text + "</br>" + txtpass.Text + "";
smtp.Send(mail);
use this gmail server instead of google and i use same namespaces which you mentioned earlier in your code
Sumit_Pathak 10-Jan-14 4:16am View
   
just check this if you found any error then tell us which error you are getting

protected void Button1_Click(object sender, EventArgs e)
{


MailMessage mail=new MailMessage();

// MailMessage mail = new ("dnscubes7@gmail.com", "niya4422@gmail.com");
//here you can set only one email address which means sending mail from your email id
mail.From = new MailAddress("dnscubes7@gmail.com", "niya4422@gmail.com");
mail.To.Add("ss@ss.com");//this is user email address

SmtpClient smtp = new SmtpClient();
smtp.Port = 25;
//smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
//smtp.UseDefaultCredentials = false;
smtp.Host = "smtp.google.com";
smtp.Credentials = new System.Net.NetworkCredential("dnscubes7@gmail.com","msquaredrupeshjisha");
mail.Subject = "this is a test email.";
mail.Body = "Here is your username and password :" + txtname.Text + "</br>" + txtpass.Text + "";
smtp.Send(mail);
}
Sumit_Pathak 4-Jan-14 2:09am View
   
<connectionstrings>
<add name="conn" connectionstring="Data Source=PC;Initial Catalog=demo1;User ID=sa;Password=itpaper">
<add name="conn_2" connectionstring="Data Source=PC;Initial Catalog=demo2;User ID=sa;Password=***">


<connectionstrings>
<add name="conn" connectionstring="Data Source=PC;Initial Catalog=demo1;User ID=sa;Password=****">


if i add these both connection string in web.config then i m getting this below error
Error 2 Sections must only appear once per config file. See the help topic <location> for exceptions. C:\Documents and Settings\User\My Documents\Visual Studio 2008\WebSites\WebSite20\Web.config 32