|
You alreayd know that you have to use grid or repeater. I can suggest you another approach of trying out several news controls available in the market (like DevExpress[^], ASPAlliance[^], some opensource[^] etc.).
These were few examples which you can find out after Googling..Enjoy
|
|
|
|
|
Just use ListView or Repeater and make your own html.
User ItemTemplate to render your html.
|
|
|
|
|
I am using streams to read data from a word document and display it in a web page. But the output displays only texts and not displaying images in the word document.
Can any one help me.....
Regards,
Rajesh
|
|
|
|
|
How you are reading the content from Word file ? And how displaying it in page ?
|
|
|
|
|
Can any one help me out in using the ajax slide show extender
how to write the webservice method
modified on Saturday, August 8, 2009 7:11 AM
|
|
|
|
|
4anusha4 wrote: Can any one help me out in using the ajax slide show extender
how to write the webservice method
Here is one simple example of it,
AJAX SlideShowExtender Control [^]
Hope this will help you
|
|
|
|
|
I got an error
Microsoft JScript runtime error: Sys.InvalidOperationException: Can't add a handler for the error event using this method. Please set the window.onerror property instead.
could u solve this
|
|
|
|
|
|
thank u
any way i got it i replaced the dll file with the latest version
|
|
|
|
|
Great.
|
|
|
|
|
i want to use adobe flash palyer in my web page to display .flv videos.
i have downloaded player..
how can i use it in my project.....
|
|
|
|
|
AhmedNisar82 wrote: how can i use it in my project.....
Results 1 - 10 of about 1,250,000 for insert flash object asp.net[^]. (0.24 seconds)
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hii..
i hav populated a html editor from database at pageload event.
now i hav edited the data in html editor and thrugh button click m tryin to update the database.
but its not workin properly.it shows the same data back.I hav written the code n query properly.....
can anybody let me know why its happening....thnks in advanc....
the code is:
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["Jajaipur"].ConnectionString);
string str = "Select Description From SubMenu Where (SubMenuId=100)";
SqlDataReader dr = null;
SqlCommand cmd = new SqlCommand(str, conn);
conn.Open();
dr = cmd.ExecuteReader();
if (dr.Read())
{
Editor1.Content = dr["Description"].ToString();
}
conn.Close();
}
protected void btnsubmit_click(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["Jajaipur"].ConnectionString);
string str = "Update SubMenu Set Description='"+ Editor1.Content +"' Where (SubMenuId=100)";
SqlCommand cmd = new SqlCommand(str, conn);
conn.Open();
cmd.ExecuteNonQuery();
conn.Close();
}
|
|
|
|
|
After update data then execute again select command to see changes.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
i hav checked it makes no difference...
|
|
|
|
|
Clicking on the submit button posts back the page which again takes the data from database.
You should rather do it like this. i.e. check for the ispostback property.
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["Jajaipur"].ConnectionString);
string str = "Select Description From SubMenu Where (SubMenuId=100)";
SqlDataReader dr = null;
SqlCommand cmd = new SqlCommand(str, conn);
conn.Open();
dr = cmd.ExecuteReader();
if (dr.Read())
{
Editor1.Content = dr["Description"].ToString();
}
conn.Close();
}
}
protected void btnsubmit_click(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["Jajaipur"].ConnectionString);
string str = "Update SubMenu Set Description='"+ Editor1.Content +"' Where (SubMenuId=100)";
SqlCommand cmd = new SqlCommand(str, conn);
conn.Open();
cmd.ExecuteNonQuery();
conn.Close();
}
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
thnks...it worked.....
|
|
|
|
|
I want to open an ASPX page as pupup ,using a hyperlink control which is in a gridview .
I use the following code but it doesn't work!!!!
<asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True"
NavigateUrl="javascript:window.open('<%# 'SME/ShowProductDetails.aspx?ARG='+(Eval('URLProduct') +'&Companyurl='+ Eval('URLCompany')).Replace('./?', 'http://www.sme.ir/&') %>','ProductDetails','width=400,Height=400,top=200,left=200' );"
Text='<%# Eval("Title") %>'></asp:HyperLink>
help me please!
|
|
|
|
|
try Response.redirect("page.aspx")....
|
|
|
|
|
Thanks ,but I want to open the page as a pupup!
|
|
|
|
|
Try using ajax modal popoup extender
|
|
|
|
|
|
Please help me!!! I'm really confused by ' and " when use " and when use ' ?!!!!
|
|
|
|
|
How to encrypt and decrypt text and store it in database.
|
|
|
|
|
I tried this code but i received it in "C:\Inetpub\mailroot\Queue" not delivering to respective ID.
MailMessage mail = new MailMessage();
mail.From = "shankarganesh.mca@gmail.com";
mail.To = "shankarganeshbit@gmail.com";
mail.Subject = "Test";
mail.Body = readfrombody();
mail.BodyFormat = MailFormat.Text;
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(mail);
can anybody give me ans now?
|
|
|
|