Member Avatar

Hi. Does anyone know how to migrate a Merge Module project from .Net Framework 2.0 to 3.5? I have been able to move the WindowsFormApplications and msi project but got stuck with the msm. Thanks

Member Avatar
0
13
Member Avatar

Hi.. I am populating my gridview as follows:- protected void Button1_Click(object sender, EventArgs e) { string con = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlDataAdapter sda = new SqlDataAdapter("Select * from DropDownFilter", con); sda.Fill(dt); GridView1.DataSource = dt; GridView1.DataBind(); } and then i have checkbox for every row now i want to delete the checked rows on another button event,how can i achieve this?? Can anyone please help me??

Member Avatar
-1
6
Member Avatar

this.tableLayoutPanel1.ResumeLayout(false); An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll occurred for the above line.. Please help me...

Member Avatar
0
5
Member Avatar

Hi.. I am populating treeview using XML and then trying to access the nodes of treeview into webbrowser to view the files using the following code.. Can anyone please guide me with this?? [CODE] private void treeView1_MouseDoubleClick(object sender, MouseEventArgs e) { webBrowser1.Navigate(treeView1.SelectedNode.Text); } [/CODE] The following is the function to build treeview:- [CODE] private void BuildTreeView(XmlDocument doc) { treeView1.Nodes.Clear(); treeView1.Nodes.Add(new TreeNode(doc.DocumentElement.Name)); TreeNode tNode = new TreeNode(); tNode = treeView1.Nodes[0]; AddNode(doc.DocumentElement, tNode); treeView1.ExpandAll(); } [/CODE]

Member Avatar
0
2
Member Avatar

Hello all and thank you in advance. I am building a website (AP.NET 3.5 and C#) that I put a File Uploader on using the "FileUpload". I then created a Button that has the following code in it: String savePath = @"DESTINATION_PATH"; if (FileUpload1.HasFile) { String fileName = FileUpload1.FileName; savePath += fileName; FileUpload1.SaveAs(savePath); UploadStatusLabel.Text = "Your file was Uploaded"; } I set the DESTINATION_PATH to my Desktop to test it and it worked. Now, I want to direct the destination to my hosting account through GoDaddy. So, I first set the permissions on the folder on the server for (Read/Write). …

Member Avatar
0
3
Member Avatar

see teh code [CODE]<asp:DataList ID="DataList1" runat="server" Width="200%" > <ItemTemplate> <h4><asp:Label ID="DAtes" runat="server" Text='<%# Eval("date") %>'></asp:Label></h4> <asp:GridView AllowPaging=True ID="GridView1" runat="server" DataKeyNames=sessionid AutoGenerateColumns="False" CellPadding="4" Width="697px" style="margin-right: 0px" ForeColor="#333333" GridLines="None"> <RowStyle ForeColor="#333333" BackColor="#F7F6F3" /> <Columns> <asp:TemplateField HeaderText="Availability"> <ItemTemplate> <asp:CheckBox ID="chkgfln" Enabled=true runat="server" Text=Available /> </ItemTemplate> </asp:TemplateField> <asp:BoundField HeaderText="sessionid" DataField=sessionid /> <asp:BoundField HeaderText="userid" DataField=userid /> <asp:BoundField HeaderText="Start Time" DataField=starttime /> <asp:BoundField HeaderText="end Time" DataField=endtime /> <asp:TemplateField HeaderText="send invitation"> <ItemTemplate> <asp:ImageButton OnClick="deleteIL_Click" commandargument="'<%# />'" ID="imgedit1" runat="server" ImageUrl="~/images/email.gif" /> </ItemTemplate> </asp:TemplateField> </Columns> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <EditRowStyle BackColor="#999999" /> <AlternatingRowStyle …

0
1
Member Avatar

i have bit tricky kind or problem. i need to get values of each textbox in loop with different names,i have three row (name,telephone,email)and off course three textbox ,can any one help how to get in loop ,i need to insert them in database [CODE] Dim arr() As String Dim record As Int32 record = 0 For Each div As System.Web.UI.Control In plholder.Controls If div.[GetType]().Name = "HtmlGenericControl" Then Dim hml As HtmlGenericControl = DirectCast(div, HtmlGenericControl) Dim str12 As String str12 = hml.TagName str12 = hml.ID For Each table As System.Web.UI.Control In div.Controls If table.[GetType]().Name = "HtmlTable" Then Dim htab As …

Member Avatar
0
3
Member Avatar

i write following statment in my code [CODE]Response.Write(arr(0).ToString(), arr(1).ToString(), arr(2).ToString())[/CODE] but it gives me an error [COLOR="Red"]Conversion from string "xxx" to type 'Integer' is not valid.[/COLOR] althought array has values like this arr(0)='erum' arr(1)='dsds' arr(2)='sdsd' arr(3)='Nothing' [CODE] Dim arr(3) As String Dim record As Int32 record = 0 [/CODE] i need array values from index 0 to 2 i.e only 3 columns to insert in database any help

Member Avatar
0
3
Member Avatar

i need to isnert in database and i have query liike that [CODE]str_attend = "insert into Attendees([Userid],[Attendees_name],[Attendees_telephone],[Attendees_Email] )values (" & userid & " ," & arr(0).ToString() & " , " & arr(1).ToString() & " , " & arr(3).ToString() & " )" [/CODE] all values hold values in insert statment non of of them is null. but it gives me an exception on insert statment .

Member Avatar
0
2
Member Avatar

i have code [CODE]Protected Sub btn_submitt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_submitt.Click Try If (ddl_Country.SelectedItem.Text = "Select Country") Then Me.Label1.Visible = True Me.Label1.Text = "Please Select Country" Else Me.Label1.Visible = False Dim n As Int32 Dim connString As String = System.Configuration.ConfigurationManager.ConnectionStrings("containerConnectionString").ConnectionString Dim con As SqlConnection = New SqlConnection(connString) con.Open() Dim str, str1 As String '************************** cmd.Parameters.Add("@sal", SqlDbType.NVarChar).Value = Me.DropDownList1.SelectedItem.Text cmd.Parameters.Add("@Name", SqlDbType.NVarChar).Value = Me.txt_name.Text cmd.Parameters.Add("@Position", SqlDbType.NVarChar).Value = Me.txt_position.Text cmd.Parameters.Add("@Companyname", SqlDbType.NVarChar).Value = Me.txt_cname.Text cmd.Parameters.Add("@Address", SqlDbType.NVarChar).Value = Me.txt_address.Text cmd.Parameters.Add("@city", SqlDbType.NVarChar).Value = Me.txt_city.Text cmd.Parameters.Add("@state", SqlDbType.NVarChar).Value = Me.txt_state.Text cmd.Parameters.Add("@Country", SqlDbType.NVarChar).Value = Me.ddl_Country.SelectedItem.Text cmd.Parameters.Add("@telephone", SqlDbType.NVarChar).Value = Me.txt_Telephone.Text cmd.Parameters.Add("@telefax", SqlDbType.NVarChar).Value = Me.txt_telefax.Text cmd.Parameters.Add("@Email", SqlDbType.NVarChar).Value …

Member Avatar
0
4
Member Avatar

can u correct the error Parser Error Message: Type 'System.Web.UI.UpdatePanel' does not have a public property named 'table'. i have following code [CODE]Public Partial Class WebForm1 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub RadioButtonList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) If RadioButtonList1.SelectedValue = "blue" Then TextBox1.BackColor = System.Drawing.Color.Blue TextBox1.ForeColor = System.Drawing.Color.White ElseIf RadioButtonList1.SelectedValue = "red" Then TextBox1.BackColor = System.Drawing.Color.Red TextBox1.ForeColor = System.Drawing.Color.Black ElseIf RadioButtonList1.SelectedValue = "white" Then TextBox1.BackColor = System.Drawing.Color.White TextBox1.ForeColor = System.Drawing.Color.Black End If End Sub Protected Sub RadioButtonList2_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles …

Member Avatar
0
4
Member Avatar

Hi all, I'm trying to create a method in [B]managed c++[/B] which will convert an int to a string representation of binary. I have done this in C# before, but I can't work out how to do it in Managed C++ Below is the code from my C# effort that worked. Scott [CODE] // This is C# Code public string intToBinary(int convertThis) { string converted = Convert.ToString(convertThis, 2); return converted; } [/CODE]

Member Avatar
0
4
Member Avatar

Hi, I am working on asp.net web application (VB) where the user uploads his images in the web server and then he can retrieve those images by using gridview with paging. Everytime as the user uploads new images, the code should create new folder. For e.g: UserName FolderName Images A A (new) 1/2/3/4/5 B B (new) 1/2/3/4/5 C C (new) 1/2/3/4/5 D D (new) 1/2/3/4/5 If anybody knows the coding or resources will be highly greatful. Thanks in advance. Regards, Lancy

Member Avatar
0
2
Member Avatar

hi please anyone help me in this i want to download .net framework 3.5 sp1 but i cant find any solution please suggest me where i can download it and how to run it. Thanks. Rajiv

Member Avatar
0
13
Member Avatar

hi, I would need to create a website that has all the screens using Flash. The Flash screen would be having authentication system and get few data like Menu info, image info.................. Just wondering what is the way that Flash & .Net can talk. Application front end: Flash Platform: .Net (Asp.Net, C#) Back end: SQL server....... thank you

Member Avatar
0
3

The End.