Click here to Skip to main content
14,733,163 members

Comments by Rupa1 (Top 104 by date)

Rupa1 26-Mar-13 0:27am View
   
Thank you snehal, really helped me a lot.
Rupa1 17-Jan-13 2:53am View
   
where we are setting Application variable object..?
if it is a session, we can set it like "_controllerContext.SetupGet(p => p.HttpContext.Session["someid"]).Returns(someid);"
Rupa1 9-May-12 3:14am View
   
thanks for reply Birajdar,i tried like that, when i click on the button window closing i want to show window if an error came........
Rupa1 11-Jan-12 5:56am View
   
using findcontrol u can find [Checkbox] using that...we can get it.........
Rupa1 29-Dec-11 4:40am View
   
not in java script,it will not work normal validations also...if we keep like :)(Page.IsValid=false )
Rupa1 6-Apr-11 10:09am View
   
ok there is any another way
Rupa1 16-Mar-11 7:57am View
   
can u explain clearly
Rupa1 15-Mar-11 2:05am View
   
thx sir
Rupa1 14-Mar-11 6:22am View
   
because i searched in Google but i am not able to understand........
Rupa1 14-Mar-11 6:15am View
   
yes i don't know please tell me sir
Rupa1 8-Mar-11 2:25am View
   
ya thx sir got it
Rupa1 5-Mar-11 4:58am View
   
up to second page working fine but third page sir..?(your code OK sir,but i want dynamically)
Rupa1 5-Mar-11 4:34am View
   
i place label control sir when we click on read more button it's displaying first onwards it's not displaying next data
Rupa1 5-Mar-11 4:29am View
   
ya i wrote but its displaying out side of design
Rupa1 5-Mar-11 4:23am View
   
sir i have one doubt first displaying correct but next time we click on read more it display first data also...............
Rupa1 5-Mar-11 4:17am View
   
sir really thx I got solution
Rupa1 24-Feb-11 6:03am View
   
ya i got but y we are using 'a'
Rupa1 20-Feb-11 23:09pm View
   
single radio button sir
Rupa1 18-Feb-11 8:26am View
   
protected void btnsearch_Click(object sender, EventArgs e)
{

SqlDataAdapter ad = new SqlDataAdapter("select * from customer where strdate BETWEEN '" + txtfrom.Text + "' AND '" + txtto.Text + "'", (SqlConnection)Application.Get("HR"));
DataSet ds = new DataSet();
ad.Fill(ds);
oRpt = new ReportDocument();
oRpt.Load(Server .MapPath ("~/Reports/CustomerRpt.rpt"));
oRpt.SetDataSource(ds.Tables[0]);
CrystalReportViewer1.ReportSource = oRpt;

}
//pdf converting here
protected void Button1_Click(object sender, EventArgs e)
{
MemoryStream oStream=new MemoryStream (); // using System.IO
oStream = (MemoryStream)
oRpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
Response.Clear();
Response.Buffer = true;
Response.ContentType = "application/pdf";
Response.BinaryWrite(oStream.ToArray());
Response.End();
}

Rupa1 18-Feb-11 8:02am View
   
Ok sir got it
Rupa1 18-Feb-11 7:47am View
   
we have requirement sir
Rupa1 18-Feb-11 3:00am View
   
sir can i know what is the use of trigger Please tell me
Rupa1 16-Feb-11 0:19am View
   
ok thx sir i got solution
Rupa1 16-Feb-11 0:07am View
   
Yes correct
Rupa1 15-Feb-11 23:56pm View
   
i have one setup file that i developed in windows, and also i have one website in that i have one download button if i click on that i want download that windows setup file
Rupa1 15-Feb-11 2:16am View
   
i have so many attachments not one sir
Rupa1 11-Feb-11 0:08am View
   
thx sir now my code working
Rupa1 8-Feb-11 4:09am View
   
can u give any link or more clarification
Rupa1 7-Feb-11 7:37am View
   
thx sir i got it now..................
Rupa1 7-Feb-11 4:36am View
   
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


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

An invalid character was found in text content. Error processing resource 'http://localhost:3055/DPS/testpdf.aspx'. Line 2...

%

ya finally coming error this one sir where i am doing mistake.......
Rupa1 7-Feb-11 4:35am View
   
ok i keep varbinary(Max) but coming error in output page


The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


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

An invalid character was found in text content. Error processing resource 'http://localhost:3055/DPS/testpdf.aspx'. Line 2...

%


Rupa1 7-Feb-11 3:00am View
   
shell i keep binary(50) it's ok.......
Rupa1 7-Feb-11 2:45am View
   
ya i gave data field strpdfurl as varbinary(MAX) is it wrong?
Rupa1 7-Feb-11 2:34am View
   
in binary data coming data but it's not able to write data
Rupa1 7-Feb-11 2:33am View
   
string SQL = "SELECT * FROM DPSpdf WHERE intpdfId=@intpdfId";
SqlCommand myCommand = new SqlCommand(SQL, (SqlConnection)Application.Get("DPS"));
myCommand.Parameters.AddWithValue("@intpdfId", txtdanceid.Text);
SqlDataReader myReader = myCommand.ExecuteReader();
if (myReader.Read())
{

byte[] data = (byte[])myReader["strpdfurl"];
System.Web.HttpResponse Response = System.Web.HttpContext.Current.Response;
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = myReader["ContentType"].ToString();
Response.BinaryWrite(data);
myReader.Close();
Response.End();


}
i implemented like this but not showing pdf file sir................
Rupa1 7-Feb-11 1:51am View
   
sir not coming where i am doing mistake?
Rupa1 3-Feb-11 8:05am View
   
sir we will upload only 3 attachments but i want to increase dynamically.........?
Rupa1 3-Feb-11 8:00am View
   
like gmail attached file sir
Rupa1 2-Feb-11 2:19am View
   
sir ca u see this link(http://www.bing.com/images/search?q=images+&view=large&FORM=VBCIRL) exact i want to implement like this in asp.net
Rupa1 2-Feb-11 2:09am View
   
sir ca u see this link(http://www.bing.com/images/search?q=images+&view=large&FORM=VBCIRL) exact i want to implement like this in asp.net
Rupa1 2-Feb-11 2:04am View
   
sir i ve one doubt in the above link having normal image but i want to display that gridview images then how can i show
Rupa1 2-Feb-11 2:03am View
   
thx sir for u r reply.......
Rupa1 2-Feb-11 1:56am View
   
sir i did like this where i did mistake <asp:GridView ID="dgitem" runat="server" AutoGenerateColumns="False"
onselectedindexchanged="dgitem_SelectedIndexChanged">
<columns>
<asp:BoundField DataField="intdanceId" HeaderText="DanceId"
InsertVisible="False" ReadOnly="True" SortExpression="ID" />
<asp:BoundField DataField="strdanceText" HeaderText="danceText"
InsertVisible="False" ReadOnly="True" SortExpression="ID" />
<asp:TemplateField HeaderText="Image">
<itemtemplate>
<asp:Image ID="Image1" runat="server" Height="28px"
ImageUrl='<%# "DanceHandler.ashx?intdanceId=" + Eval("intdanceId")%>'
Width="23px" rel="lightbox[roadtrip1]" />

</asp:TemplateField>
<asp:CommandField HeaderText="Select" ShowSelectButton="True" />

</asp:GridView>
Rupa1 2-Feb-11 1:19am View
   
sir i have one doubt if it is in gridview how can we give <a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a> for image box we can give like but in case of gridview sir.................
Rupa1 1-Feb-11 8:36am View
   
High pay is one of like that its an PAYPAL INTEGRATION SO IAM not getting exact information regarding this so it is like same as paypal only so if u got any information regarding this please share with me
Rupa1 1-Feb-11 8:32am View
   
Yes i got the information of that book But In that iam not getting the exact api information so please share the information with ur friends thank you.
Rupa1 1-Feb-11 8:17am View
   
paying money in online with high-pay integration
Rupa1 1-Feb-11 8:01am View
   
can You paste your coding here
Rupa1 1-Feb-11 7:07am View
   
not in google search i want exact difference
Rupa1 1-Feb-11 5:38am View
   
thx a lot sir.................
Rupa1 30-Jan-11 22:56pm View
   
ok sir biometric device comes under connection oriented...?
Rupa1 30-Jan-11 22:50pm View
   
Deleted
thx sir
Rupa1 28-Jan-11 8:22am View
   
genetic algorithm means optimization
Rupa1 28-Jan-11 8:16am View
   
gridview checked items adding in listbox working fine ,after gridview i ve one text box i want to add that text also in list box with ','
Rupa1 28-Jan-11 7:02am View
   
string connectionstring = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\serversmsdb.accdb"; try this connection string
Rupa1 28-Jan-11 7:00am View
   
may be u r giving connection wrong coding insert everything f9
Rupa1 28-Jan-11 1:27am View
   
OK
Rupa1 28-Jan-11 0:57am View
   
i voted sir
Rupa1 28-Jan-11 0:51am View
   
sir i got it thx a lot
Rupa1 26-Jan-11 5:14am View
   
no error everything ok sir..............
Rupa1 26-Jan-11 2:58am View
   
sir if i place TargetControlID then it's not showing calenderextender in design page ...?sir now i gave reply from addcomment but how can i gave reply to u....?
Rupa1 24-Jan-11 5:11am View
   
ok thx sir i got it..............
Rupa1 24-Jan-11 4:43am View
   
sir in cmd prompt how can i write can u explain clearly........
Rupa1 23-Jan-11 22:53pm View
   
ok ...sir
Rupa1 22-Jan-11 6:52am View
   
sir if i run application window will open like The page cannot be displayed but when i right click on ASP.net development server-port2791 after i click on open in web browser like that only its coming in that also if i enter any text in the textbox its not displaying the textbox
Rupa1 22-Jan-11 6:38am View
   
<asp:TextBox ID="txtEmail" runat="server" Width="150px"></asp:TextBox> this my html but y its not working sir...........
Rupa1 22-Jan-11 1:45am View
   
with out selecting we can't get listbox value.........?
Rupa1 22-Jan-11 0:39am View
   
string x = ds.Tables[0].Rows[0][0].ToString();
string get_value = ListBox1.Text.ToString();
con.Open();
DateTime dt = Convert.ToDateTime(DateTime.Now.ToString());
SqlCommand cmd = new SqlCommand("insert into struserquerysend values('" + int.Parse(x) + "','" + Session["UserName"] + "','" + get_value + "','" + dt + "','" + str_color + "')", con);
cmd.ExecuteNonQuery();

listbox having item xxx,yyy,zzz............
Rupa1 22-Jan-11 0:11am View
   
i am adding items from gridview if itis checked then item will add the listbox after again one items add it will be add like , so all only one text how can i get that text...........
listbox1.text i wrote but its showing null
Rupa1 21-Jan-11 22:54pm View
   
thx sir exactly i am looking for that ...............really thx
Rupa1 21-Jan-11 9:20am View
   
sorry for that sir.........
Rupa1 21-Jan-11 9:19am View
   
ya i ve gridview in that i will check checkbox that all items i want be add in listbox rupa,xxx,yyy...........
Rupa1 21-Jan-11 9:13am View
   
dynamically i want to add that sir..static lst.Items.Add(new ListItem("rupa,anitha,latha,rani")); it will work
Rupa1 21-Jan-11 9:10am View
   
not line by line rupa,xxxx,yyyy,zzzzz like sir..........
Rupa1 21-Jan-11 9:08am View
   
not line by line sir in listbox like rupa,anitha,latha,rani in one row
Rupa1 21-Jan-11 8:53am View
   
thx a lot sir.....for u reply
Rupa1 21-Jan-11 5:00am View
   
ok thx a lot sir...............
Rupa1 21-Jan-11 0:30am View
   
i developed in try catch blocks sir where i am doing mistake.....
Rupa1 20-Jan-11 23:59pm View
   
where i am doing mistake sir............
Rupa1 20-Jan-11 23:48pm View
   
Label1.Visible = true;
MailMessage mm = new MailMessage();
SmtpClient smtp = new SmtpClient();
mm.From = new MailAddress(fromtext.Text);
mm.To.Add(new MailAddress(totext.Text));
mm.Subject = txtsubject.Text;
mm.Body = txtmessage.Text;
mm.IsBodyHtml = true;
smtp.Host = "smtp.gmail.com";
smtp.EnableSsl = true;
System.Net.NetworkCredential NetworkCred = new System.Net.NetworkCredential();
NetworkCred.UserName = "nagaswarupa@brihaspathi.com";//write your gmail user name
NetworkCred.Password = "";// write pass word
smtp.UseDefaultCredentials = true;
smtp.Credentials = NetworkCred;
smtp.Port = 25; //Gmail port for e-mail 465 or 587
smtp.Send(mm);
Label1.Text = "succecc fully send";

again same error like Failure sending mail.
Rupa1 20-Jan-11 6:30am View
   
ok integer working f9 then datetime tell me sir...........
Rupa1 20-Jan-11 6:21am View
   
ok now i understood thx..........
Rupa1 20-Jan-11 6:06am View
   
what is the use of rate to answer
Rupa1 20-Jan-11 5:52am View
   
thx a lot sir...............
Rupa1 20-Jan-11 5:30am View
   
without third party we can't do......?
Rupa1 20-Jan-11 1:53am View
   
sir i ve one doubt if i check that one adding in listbox if i uncheck that item will be remove in listbox also how can i do..............?
Rupa1 20-Jan-11 1:42am View
   
sir now i got thx a lot sir
Rupa1 20-Jan-11 0:27am View
   
protected void chkcheckquery_CheckedChanged(object sender, EventArgs e)
{
CheckBox chkTest = (CheckBox)sender;
GridViewRow grdRow = (GridViewRow)chkTest.NamingContainer;

// CheckBox che = (CheckBox)grdRow.FindControl("chkcheckquery");

if (chkTest.Checked)
{
string get_value = gvqueriescheck.Rows[0].Cells[1].Text;
ListBox1.Items.Add(get_value);
}

//for (int i = 0; i < gvqueriescheck.Rows.Count; i++)
//{
// CheckBox chbTemp = gvqueriescheck.Rows[i].FindControl("chkcheckquery") as CheckBox;
// if (chbTemp.Checked)
// {
// string get_value = gvqueriescheck.Rows[i].Cells[1].Text;
// ListBox1.Items.Add(get_value);
// //Code for Deletion

// }
//}




}
Rupa1 19-Jan-11 9:29am View
   
thx a lot sir.................
Rupa1 19-Jan-11 9:22am View
   
.NET applications under Mono means i am listening first time can u explain clearly if u don't mine
Rupa1 18-Jan-11 5:53am View
   
which value can i assign at SmtpMail.SmtpServer=?
Rupa1 18-Jan-11 5:21am View
   
which value can i assign at SmtpMail.SmtpServer=?
Rupa1 18-Jan-11 2:53am View
   
Email was queued to disk showing output but not coming mail
Rupa1 18-Jan-11 2:22am View
   
we are writing port no 25 that one correct where i am doing mistake can u help me
Rupa1 18-Jan-11 2:04am View
   
ok thx for giving reply
Rupa1 18-Jan-11 1:49am View
   
can u explain ticket follow-ups or query more briefly
Rupa1 18-Jan-11 1:29am View
   
what u ve send ok still please give some clarity
Rupa1 13-Jan-11 2:15am View
   
i ve one listbox in default.aspx it having some items, i want display the same items of listbox in default2.aspx
Rupa1 13-Jan-11 1:55am View
   
k kept but coming this error Unable to cast object of type 'System.Web.UI.WebControls.ListItemCollection' to type 'System.Collections.Generic.List`1[System.Web.UI.WebControls.ListViewDataItem]'.
Rupa1 13-Jan-11 1:44am View
   
Session["ListViewStore"] = lv.Items this line i wrote in first page after List<ListViewDataItem> fetchback = (List<ListViewDataItem>)Session["ListViewStore"];this line i wrote in second page page_load but its giving error if any modification please inform me......thx
Rupa1 13-Jan-11 1:37am View
   
sir it's not adding in second page please help me
Rupa1 9-Dec-10 2:25am View
   
we can do please go through the following link http://cid-96f8d49aa44c79c1.skydrive.live.com/self.aspx/Public/DatePickerRefactored.zip[^] in that download.zip file run it u can get directly date timepicker in wpf application................
Rupa1 8-Dec-10 7:57am View
   
in vb.net also we have tell me your mail id i will set print screen my mail id is swarupa.ummalaneni@gmail.com
Rupa1 8-Dec-10 7:45am View
   
how can we display color in that